/* ==========================================================================
   IQ Brain Consult — Main stylesheet
   Built on Bootstrap 5. Breakpoint-specific rules live in responsive.css.
   --------------------------------------------------------------------------
   1. Design tokens        7. Service cards        13. Page hero
   2. Base                 8. Focus rows           14. Service pages
   3. Typography helpers   9. Approach             15. About
   4. Buttons & links     10. Why / sectors        16. Programs / industries
   5. Header & nav        11. Programs & CTA       17. Insights
   6. Home hero           12. Footer               18. Contact & forms
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
    /* Brand (from the IQ Brain logo) */
    --blue: #0077B6;
    --blue-600: #006AA3;
    --blue-700: #00598A;
    --blue-300: #6EC1EA;   /* blue for text on dark backgrounds */
    --blue-50: #EAF4FA;
    --amber: #FBAA00;
    --amber-600: #DB9400;
    --amber-700: #A86F00;  /* amber for small text on light backgrounds */
    --amber-50: #FFF5DC;

    /* Neutrals (deep navy from the company profile) */
    --navy-950: #030C16;
    --navy-900: #061423;
    --navy-800: #0B2036;
    --navy-700: #14304C;
    --ink: #0D1B2A;
    --body: #3F4D5C;
    --muted: #677585;
    --line: #E2E6EB;
    --line-dark: rgba(255, 255, 255, .12);
    --sand: #F6F4EF;
    --white: #FFFFFF;

    --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 1px 2px rgba(6, 20, 35, .05), 0 8px 24px rgba(6, 20, 35, .06);
    --header-h: 84px;
    --section-y: clamp(72px, 9vw, 128px);
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Bootstrap overrides */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--body);
    --bs-link-color-rgb: 0, 119, 182;
    --bs-link-hover-color-rgb: 0, 89, 138;
    --bs-border-color: var(--line);
}

/* 2. Base
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.2;
}

img { max-width: 100%; height: auto; }

a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

::selection { background: var(--amber); color: var(--navy-900); }

:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
    border-radius: 2px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    padding: 10px 18px;
    background: var(--amber);
    color: var(--navy-900);
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: top .2s;
}
.skip-link:focus { top: 12px; }

.section { padding: var(--section-y) 0; }
.section--tight-top { padding-top: 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: var(--white); }

/* 3. Typography helpers
   ========================================================================== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
}
/* The amber dot echoes the dot of the "i" in the logo */
.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: none;
    border-radius: 50%;
    background: var(--amber);
}
.eyebrow--light { color: var(--blue-300); }
.eyebrow-num { color: var(--amber-700); letter-spacing: .06em; }
.eyebrow--light .eyebrow-num { color: var(--amber); }

.display-title {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.12;
    margin-bottom: 0;
}

.section-title {
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.section-title--light { color: var(--white); }

.lead-text {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--ink);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 56px;
}
.section-head .section-title { margin-bottom: 0; }
.section-head__text { max-width: 460px; margin: 0; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-weight: 500;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--amber);
}

/* 4. Buttons & links
   ========================================================================== */
.btn {
    --bs-btn-font-family: var(--font-head);
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1.4rem;
    --bs-btn-padding-y: .78rem;
    --bs-btn-border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: .005em;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .95rem; --bs-btn-font-size: 1rem; }
.btn-sm { --bs-btn-padding-x: 1rem; --bs-btn-padding-y: .55rem; --bs-btn-font-size: .875rem; }
.btn .bi { font-size: 1.05em; transition: transform .2s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(3px); }
.btn:hover .bi-arrow-down { transform: translateY(2px); }

.btn-accent {
    --bs-btn-bg: var(--amber);
    --bs-btn-border-color: var(--amber);
    --bs-btn-color: var(--navy-900);
    --bs-btn-hover-bg: #FFB92E;
    --bs-btn-hover-border-color: #FFB92E;
    --bs-btn-hover-color: var(--navy-900);
    --bs-btn-active-bg: var(--amber-600);
    --bs-btn-active-border-color: var(--amber-600);
    --bs-btn-active-color: var(--navy-900);
}
.btn-primary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: var(--blue-700);
    --bs-btn-hover-border-color: var(--blue-700);
    --bs-btn-active-bg: var(--blue-700);
    --bs-btn-active-border-color: var(--blue-700);
}
.btn-outline-light {
    --bs-btn-color: var(--white);
    --bs-btn-border-color: rgba(255, 255, 255, .45);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-color: var(--navy-900);
    --bs-btn-hover-border-color: var(--white);
}
.btn-outline-dark {
    --bs-btn-color: var(--ink);
    --bs-btn-border-color: #C9D0D8;
    --bs-btn-hover-bg: var(--navy-900);
    --bs-btn-hover-border-color: var(--navy-900);
    --bs-btn-hover-color: var(--white);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}
.link-arrow .bi { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--blue-700); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* 5. Header & navigation
   ========================================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    transition: background-color .3s, box-shadow .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.site-header .navbar { min-height: var(--header-h); padding: 0; }

.navbar-brand { padding: 0; margin-right: 32px; display: flex; align-items: center; }
.brand-logo { height: 38px; width: auto; }
.brand-logo--color { display: none; }

/* Transparent state (over dark heroes) */
.site-header .nav-link {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .86);
    padding: 8px 14px !important;
    position: relative;
    transition: color .2s;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus-visible { color: var(--white); }
.site-header .nav-link.active { color: var(--white); }
.site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background: var(--amber);
}

/* Scrolled state */
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(6, 20, 35, .06);
    backdrop-filter: saturate(160%) blur(8px);
}
.site-header.is-scrolled .brand-logo--color { display: block; }
.site-header.is-scrolled .brand-logo--light { display: none; }
.site-header.is-scrolled .nav-link { color: var(--ink); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.active { color: var(--blue); }
.site-header.is-scrolled .nav-caret { color: var(--ink); }
.site-header.is-scrolled .toggler-bar { background: var(--ink); }

/* Services split link + caret */
.nav-split { display: flex; align-items: center; }
.nav-caret {
    background: none;
    border: 0;
    padding: 6px 6px 6px 0;
    color: rgba(255, 255, 255, .86);
    font-size: .8rem;
    line-height: 1;
}
.nav-caret::after { display: none; }
.nav-caret .bi { display: inline-block; transition: transform .2s; }
.nav-caret[aria-expanded="true"] .bi { transform: rotate(180deg); }

.nav-services .dropdown-menu {
    --bs-dropdown-min-width: 300px;
    --bs-dropdown-border-color: var(--line);
    --bs-dropdown-border-radius: var(--radius);
    --bs-dropdown-padding-y: 10px;
    --bs-dropdown-link-active-bg: var(--blue-50);
    --bs-dropdown-link-active-color: var(--blue);
    box-shadow: 0 18px 40px rgba(6, 20, 35, .12);
    margin-top: 0;
}
.nav-services .dropdown-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 11px 22px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
}
.nav-services .dropdown-item:hover { background: var(--sand); color: var(--blue); }
.dd-num { font-size: .75rem; font-weight: 700; color: var(--amber-700); letter-spacing: .06em; }

.nav-cta { margin-left: 16px; }
.nav-cta .btn { --bs-btn-padding-y: .62rem; --bs-btn-padding-x: 1.2rem; }

/* Toggler (mobile) */
.navbar-toggler {
    border: 0;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: none !important;
}
.toggler-bar { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: background .2s; }

.offcanvas-logo { height: 32px; width: auto; }
.offcanvas-contact { display: none; }

/* 6. Home hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: min(100svh, 940px);
    display: flex;
    flex-direction: column;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
}
.hero__media {
    position: absolute;
    inset: 0 0 0 42%;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 20, 35, .78) 0%, rgba(6, 20, 35, 0) 24%),
        linear-gradient(90deg, var(--navy-900) 0%, rgba(6, 20, 35, .72) 26%, rgba(6, 20, 35, .15) 60%, rgba(6, 20, 35, .25) 100%),
        linear-gradient(0deg, rgba(6, 20, 35, .85) 0%, rgba(6, 20, 35, 0) 40%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 150px;
}
.hero__copy { max-width: 800px; }
.hero__lead, .hero__copy .eyebrow { max-width: 580px; }
.hero__title {
    font-size: clamp(2.6rem, 4.6vw, 4.1rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.035em;
    color: var(--white);
    margin-bottom: 26px;
}
.hero__title span { color: var(--amber); }
.hero__lead { font-size: 1.2rem; line-height: 1.65; max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .3);
}
.hero__profile:hover { color: var(--white); text-decoration-color: var(--amber); }
.hero__profile .bi { color: var(--amber); font-size: 1.1rem; }

.pillar-rail {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    border-top: 1px solid var(--line-dark);
    background: rgba(3, 12, 22, .62);
    backdrop-filter: blur(10px);
}
.pillar-rail__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.pillar-rail__list li + li { border-left: 1px solid var(--line-dark); }
.pillar-rail__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 26px 24px 28px;
    color: var(--white);
    text-decoration: none;
    height: 100%;
    transition: background-color .25s;
}
.pillar-rail__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    height: 2px;
    width: 0;
    background: var(--amber);
    transition: width .35s var(--ease);
}
.pillar-rail__item:hover { background: rgba(255, 255, 255, .05); color: var(--white); }
.pillar-rail__item:hover::before { width: 100%; }
.pillar-rail__num { font-family: var(--font-head); font-size: .78rem; font-weight: 700; color: var(--amber); letter-spacing: .08em; }
.pillar-rail__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.pillar-rail__item .bi {
    position: absolute;
    right: 20px;
    top: 26px;
    color: rgba(255, 255, 255, .4);
    transition: color .2s, transform .2s var(--ease);
}
.pillar-rail__item:hover .bi { color: var(--amber); transform: translate(2px, -2px); }

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    border-top: 1px solid #D9D5CB;
}
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid #D9D5CB; }
.stat__value {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 10px;
}
.stat__label { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; max-width: 220px; }

/* 7. Service cards
   ========================================================================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--body);
    text-decoration: none;
    overflow: hidden;
    transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 3px;
    width: 48px;
    background: var(--amber);
    transition: width .4s var(--ease);
}
a.service-card:hover {
    border-color: #C7DCEA;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    color: var(--body);
}
a.service-card:hover::before { width: 100%; }
.service-card__num {
    position: absolute;
    right: 28px;
    top: 28px;
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 700;
    color: #A6B0BB;
    letter-spacing: .06em;
}
.service-card__icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--blue-50);
    color: var(--blue);
    font-size: 1.6rem;
    margin-bottom: 26px;
    transition: background-color .25s, color .25s;
}
a.service-card:hover .service-card__icon { background: var(--blue); color: var(--white); }
.service-card__title { font-size: 1.35rem; margin-bottom: 12px; }
.service-card__text { margin-bottom: 26px; font-size: 1rem; }
.service-card__more {
    margin-top: auto;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.service-card__more .bi { transition: transform .2s var(--ease); }
a.service-card:hover .service-card__more .bi { transform: translateX(4px); }

.service-card--cta {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: rgba(255, 255, 255, .75);
    justify-content: center;
}
.service-card--cta::before { width: 100%; }
.service-card--cta .service-card__title { color: var(--white); }
.service-card--cta .btn { align-self: flex-start; }

/* 8. Focus rows (homepage service highlights)
   ========================================================================== */
.focus-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding: 56px 0;
}
.focus-row + .focus-row { border-top: 1px solid var(--line); }
.focus-row--reverse .focus-row__media { order: 2; }
.focus-row__media { position: relative; }
.focus-row__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}
.focus-row__num {
    position: absolute;
    left: -1px;
    bottom: -1px;
    padding: 14px 20px;
    background: var(--white);
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--navy-900);
    border-top-right-radius: var(--radius);
}
.focus-row--reverse .focus-row__num { left: auto; right: -1px; border-top-right-radius: 0; border-top-left-radius: var(--radius); }
.focus-row__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.02em; margin-bottom: 18px; }
.focus-row__body > p { margin-bottom: 22px; }

/* 9. Approach (dark section)
   ========================================================================== */
.approach { position: relative; overflow: hidden; }
.approach::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(110, 193, 234, .14);
    box-shadow: 0 0 0 70px rgba(110, 193, 234, .03), 0 0 0 140px rgba(110, 193, 234, .02);
    pointer-events: none;
}
.approach__quote {
    margin: 40px 0 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--amber);
}
.approach__quote p { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; line-height: 1.55; color: var(--white); margin-bottom: 12px; }
.approach__quote footer { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }

.approach__steps { list-style: none; margin: 0; padding: 0; }
.approach__steps li {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--line-dark);
}
.approach__steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.approach__num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--amber); line-height: 1; }
.approach__steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.approach__steps p { margin: 0; }

/* 10. Why + sectors + clients
   ========================================================================== */
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.why-media__badge {
    position: absolute;
    right: -24px;
    bottom: 32px;
    max-width: 280px;
    padding: 24px 26px;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .72);
    border-radius: var(--radius);
    border-left: 3px solid var(--amber);
    font-size: .92rem;
    line-height: 1.5;
}
.why-media__badge strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--white); margin-bottom: 6px; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 40px;
    margin-top: 16px;
}
.why-item { padding: 22px 0; border-top: 1px solid var(--line); }
.why-item .bi { font-size: 1.5rem; color: var(--blue); display: block; margin-bottom: 12px; }
.why-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .97rem; }

.sector-strip {
    list-style: none;
    padding: 0;
    margin: 0 0 56px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sector-strip li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: var(--white);
    border: 1px solid #E4E0D6;
    border-radius: 4px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink);
}
.sector-strip .bi { color: var(--blue); font-size: 1.1rem; }

.client-wall__label {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.client-wall__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    column-gap: 40px;
}
.client-wall__list li {
    padding: 18px 0;
    border-bottom: 1px solid #DDD8CD;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.02rem;
}

/* 11. Programs + CTA band + contact strip
   ========================================================================== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.program-grid > div { display: flex; }
.program-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px 28px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .25s, box-shadow .3s;
}
.program-card:hover { border-color: #C7DCEA; box-shadow: var(--shadow); }
.program-card__cat {
    font-family: var(--font-head);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber-700);
    margin-bottom: 12px;
}
.program-card__title { font-size: 1.18rem; line-height: 1.3; margin-bottom: 12px; }
.program-card__summary { font-size: .97rem; margin-bottom: 20px; }
.program-card__meta { margin: 0 0 22px; font-size: .88rem; }
.program-card__meta div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.program-card__meta dt { font-weight: 600; color: var(--ink); }
.program-card__meta dd { margin: 0; color: var(--muted); }
.program-card .link-arrow { margin-top: auto; font-size: .95rem; }

.cta-band { padding: var(--section-y) 0; }
/* After a plain white section the previous section's bottom padding is enough */
.section:not(.section--sand):not(.section--dark) + .cta-band { padding-top: 0; }
.cta-band__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px);
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cta-band__inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--amber);
}
.cta-band__inner::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(251, 170, 0, .18);
    box-shadow: 0 0 0 60px rgba(251, 170, 0, .03);
    pointer-events: none;
}
.cta-band__copy { position: relative; max-width: 620px; }
.cta-band__title { color: var(--white); font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -.02em; margin-bottom: 12px; }
.cta-band__text { color: rgba(255, 255, 255, .72); margin: 0; font-size: 1.08rem; }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

.contact-strip { border-top: 1px solid var(--line); }
.contact-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.contact-strip__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 36px 24px;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.4;
    transition: background-color .2s;
}
.contact-strip__item + .contact-strip__item { border-left: 1px solid var(--line); }
.contact-strip__item:hover { background: var(--sand); color: var(--blue); }
.contact-strip__item .bi {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue);
    font-size: 1.2rem;
}
.contact-strip__item small {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: .8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 2px;
}

/* 12. Footer
   ========================================================================== */
.site-footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, .66);
    font-size: .96rem;
}
.footer-top { padding: 88px 0 64px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 22px; }
.footer-about { max-width: 360px; margin-bottom: 24px; }
.footer-profile { margin-bottom: 28px; }
.footer-heading {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
}
.footer-links, .footer-contact, .footer-social { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 18px; line-height: 1.6; }
.footer-contact .bi { color: var(--amber); margin-top: 2px; }
.footer-contact address { margin: 0; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--white);
    font-size: 1.05rem;
    transition: background-color .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-900); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 26px 0 30px;
    border-top: 1px solid var(--line-dark);
    font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* 13. Inner page hero
   ========================================================================== */
.page-hero {
    position: relative;
    background: var(--navy-900);
    color: rgba(255, 255, 255, .8);
    overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 20, 35, .96) 0%, rgba(6, 20, 35, .82) 45%, rgba(6, 20, 35, .45) 100%);
}
.page-hero__inner {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px));
    padding-bottom: clamp(64px, 8vw, 112px);
}
.page-hero__title {
    font-size: clamp(2.3rem, 4.6vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.06;
    color: var(--white);
    max-width: 17ch;
    margin-bottom: 22px;
}
.page-hero__lead { font-size: 1.18rem; max-width: 620px; margin: 0; }

.crumbs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0 0 28px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .6);
}
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* 14. Service pages
   ========================================================================== */
.svc-intro__title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -.025em; margin-bottom: 24px; }
.svc-intro p { font-size: 1.1rem; }

.glance {
    padding: 34px 32px;
    background: var(--sand);
    border-radius: var(--radius);
    border-top: 3px solid var(--amber);
}
.glance__title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.glance .check-list li { border-bottom-color: #E2DDD2; }
.glance .btn { width: 100%; }
.glance .btn + .btn { margin-top: 10px; }

.offering-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.offering { padding: 36px 32px; background: var(--white); transition: background-color .25s; }
.offering:hover { background: #FBFCFD; }
.offering .bi { font-size: 1.6rem; color: var(--blue); display: block; margin-bottom: 18px; }
.offering h3 { font-size: 1.15rem; margin-bottom: 10px; }
.offering p { margin: 0; font-size: .98rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { position: relative; padding-top: 30px; border-top: 2px solid rgba(255, 255, 255, .14); }
.steps li::before {
    counter-increment: step;
    content: "0" counter(step);
    position: absolute;
    top: -14px;
    left: 0;
    padding-right: 12px;
    background: var(--navy-900);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    color: var(--amber);
}
.steps h3 { font-size: 1.25rem; margin-bottom: 10px; }
.steps p { margin: 0; font-size: .98rem; }

.proof-quote { max-width: 860px; }
.proof-quote__text {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--navy-900);
    line-height: 1.1;
    margin-bottom: 20px;
}
.proof-quote__text span { color: var(--blue); }
.proof-quote p { font-size: 1.12rem; max-width: 640px; }

.engagement-list { list-style: none; padding: 0; margin: 0; }
.engagement-list li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid #DDD8CD;
}
.engagement-list li:last-child { border-bottom: 1px solid #DDD8CD; }
.engagement-list strong { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }

.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li {
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid #E4E0D6;
    border-radius: 4px;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--ink);
}

.other-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other-services a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    transition: border-color .2s, background-color .2s;
}
.other-services a span { font-size: .78rem; color: var(--amber-700); letter-spacing: .08em; }
.other-services a:hover { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }

/* 15. About
   ========================================================================== */
.leader-card { height: 100%; display: flex; flex-direction: column; }
.leader-card__photo { position: relative; margin-bottom: 24px; }
.leader-card__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.leader-card__badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 14px;
    background: var(--amber);
    color: var(--navy-900);
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 700;
    border-radius: 4px;
}
.leader-card__name { font-size: 1.35rem; margin-bottom: 4px; }
.leader-card__role { font-family: var(--font-head); font-weight: 600; color: var(--blue); margin-bottom: 14px; }
.leader-card p { font-size: .98rem; }

.pool-band {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    padding: clamp(36px, 5vw, 56px);
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, .75);
}
.pool-band .pool-band__num { margin: 0; font-family: var(--font-head); font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; line-height: .9; color: var(--white); letter-spacing: -.04em; }
.pool-band .pool-band__num small { display: block; margin-top: 12px; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.pool-band p { font-size: 1.15rem; margin: 0; }
.pool-band strong { color: var(--white); }

.framework-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.framework {
    padding: 22px 22px 20px;
    background: var(--white);
    border: 1px solid #E4E0D6;
    border-radius: var(--radius);
}
.framework h3 { font-size: 1.02rem; margin-bottom: 4px; }
.framework p { margin: 0; font-size: .86rem; color: var(--muted); }

.value-tile { padding: 30px 0; border-top: 2px solid var(--navy-900); height: 100%; }
.value-tile h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-tile p { margin: 0; }

/* 16. Programs + industries
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
    padding: 10px 18px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .92rem;
    color: var(--ink);
    transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.program-grid--catalog { grid-template-columns: repeat(3, 1fr); }
.program-grid .is-hidden { display: none; }
.filter-status { font-size: .92rem; color: var(--muted); margin-bottom: 24px; }

.format-card { padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius); height: 100%; }
.format-card .bi { font-size: 1.6rem; color: var(--amber); display: block; margin-bottom: 16px; }
.format-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.format-card p { margin: 0; font-size: .97rem; }

.hub-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #DDD8CD; border: 1px solid #DDD8CD; border-radius: var(--radius); overflow: hidden; }
.hub-list li { background: var(--white); padding: 22px 24px; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.hub-list .bi { color: var(--amber-600); }

.sector-card {
    height: 100%;
    padding: 34px 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}
.sector-card__icon { font-size: 1.7rem; color: var(--blue); margin-bottom: 18px; }
.sector-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.sector-card > p { font-size: .98rem; }
.sector-card__clients { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--line); }
.sector-card__clients li { padding: 12px 0 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.sector-card__clients small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .85rem; }

/* 17. Insights
   ========================================================================== */
.insight-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--body); }
.insight-card__media { overflow: hidden; border-radius: var(--radius); margin-bottom: 22px; }
.insight-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.insight-card:hover .insight-card__media img { transform: scale(1.04); }
.insight-card__meta { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-700); margin-bottom: 10px; font-family: var(--font-head); }
.insight-card__title { font-size: 1.3rem; line-height: 1.3; margin-bottom: 12px; transition: color .2s; }
.insight-card:hover .insight-card__title { color: var(--blue); }
.insight-card p { font-size: .98rem; }
.insight-card .link-arrow { margin-top: auto; }

.article { max-width: 740px; margin: 0 auto; }
.article p, .article li { font-size: 1.12rem; line-height: 1.8; }
.article h2 { font-size: 1.6rem; margin: 48px 0 16px; }
.article ul { padding-left: 0; list-style: none; margin: 0 0 28px; }
.article ul li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.article blockquote {
    margin: 40px 0;
    padding: 8px 0 8px 28px;
    border-left: 3px solid var(--amber);
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--navy-900);
}
.article-hero-img { max-width: 1040px; margin: -80px auto 56px; position: relative; z-index: 3; }
.article-hero-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.article-footer { max-width: 740px; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }

/* 18. Contact & forms
   ========================================================================== */
.contact-card {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}
.contact-card:last-of-type { border-bottom: 1px solid var(--line); }
.contact-card .bi {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue);
    font-size: 1.15rem;
}
.contact-card h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card p, .contact-card address { margin: 0; color: var(--ink); font-weight: 500; }
.contact-card a { color: var(--ink); text-decoration: none; }
.contact-card a:hover { color: var(--blue); text-decoration: underline; }

.form-panel {
    padding: clamp(28px, 4vw, 48px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-panel__title { font-size: 1.6rem; margin-bottom: 8px; }
.form-label { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.form-label .req { color: #B42318; }
.form-control, .form-select {
    padding: .8rem 1rem;
    border-color: #CFD6DE;
    border-radius: 4px;
    font-size: 1rem;
    color: var(--ink);
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 .22rem rgba(0, 119, 182, .16);
}
.form-control.is-invalid, .form-select.is-invalid { border-color: #B42318; }
.invalid-feedback { color: #B42318; font-size: .86rem; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-alert { padding: 16px 18px; border-radius: 4px; margin-bottom: 24px; font-weight: 500; display: flex; gap: 12px; align-items: flex-start; }
.form-alert .bi { font-size: 1.2rem; line-height: 1.4; }
.form-alert--success { background: #ECFDF3; color: #05603A; border: 1px solid #ABEFC6; }
.form-alert--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }

.btn .spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map-embed iframe { display: block; width: 100%; height: 440px; border: 0; }

/* 404 */
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; color: var(--amber); letter-spacing: -.05em; }

/* Reveal-on-scroll (enabled only when JS runs — see main.js) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

.proof-img { aspect-ratio: 4 / 3; }
.about-img { aspect-ratio: 4 / 3; }

.fact-list { margin: 24px 0 0; }
.fact-list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .96rem; }
.fact-list div:last-child { border-bottom: 1px solid var(--line); }
.fact-list dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.fact-list dd { margin: 0; }

.other-services--five { grid-template-columns: repeat(5, 1fr); }
.other-services--five a { background: var(--white); border-color: #E4E0D6; padding: 28px 24px; font-size: 1.05rem; }

/* Services overview */
.svc-index { border-top: 1px solid var(--line); }
.svc-index__row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.svc-index__num { font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--amber); letter-spacing: -.04em; }
.svc-index__title { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.svc-index__title a { color: inherit; text-decoration: none; }
.svc-index__title a:hover { color: var(--blue); }
.svc-index__row p { margin-bottom: 18px; }
.svc-index__list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.svc-index__list li { break-inside: avoid; padding: 8px 0 8px 18px; position: relative; font-size: .95rem; color: var(--ink); }
.svc-index__list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.engage-card { height: 100%; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.engage-card .bi { font-size: 1.6rem; color: var(--blue); display: block; margin-bottom: 16px; }
.engage-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.engage-card p { margin: 0; font-size: .97rem; }

/* Article + plain heroes (no background photo) */
.page-hero--article,
.page-hero--plain {
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 119, 182, .28), transparent 45%),
        var(--navy-900);
}
.page-hero--article .page-hero__inner { padding-bottom: clamp(120px, 12vw, 160px); }
.page-hero__title--article { max-width: 26ch; font-size: clamp(2rem, 3.8vw, 3.2rem); }
.page-hero--plain .page-hero__inner { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; }

/* Engagement list on dark backgrounds */
.engagement-list--dark li { border-color: var(--line-dark) !important; color: rgba(255, 255, 255, .72); }
.engagement-list--dark strong { color: var(--white); }

.contact-social a { color: var(--blue); }
