:root {
    --navy: #082f4a;
    --navy-2: #0e425f;
    --teal: #2b7582;
    --teal-2: #5b9ca7;
    --ice: #eef6f7;
    --mist: #f7f9fa;
    --silver: #c9d0d5;
    --silver-2: #e6eaed;
    --ink: #142d3d;
    --muted: #637783;
    --white: #fff;
    --line: #dbe3e7;
    --shadow: 0 18px 50px rgba(8,47,74,.12);
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1160px,calc(100% - 40px));
    margin: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(8,47,74,.08);
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 270px;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(8,47,74,.13);
}

.brand span {
    font-weight: 800;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.05;
    letter-spacing: .02em;
}

.brand small {
    display: block;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .075em;
    text-transform: uppercase;
    color: var(--teal);
    margin-top: 5px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-weight: 650;
    font-size: 14px;
    color: #35515f;
    position: relative;
    padding: 8px 0;
}

nav a:hover,nav a.active {
    color: var(--navy);
}

nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,var(--teal),var(--navy));
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 26px;
    color: var(--navy);
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    background: radial-gradient(circle at 78% 30%,rgba(43,117,130,.18),transparent 28%),linear-gradient(135deg,#fff 0%,#f6fafb 55%,#eef5f6 100%);
}

.hero:before {
    content: "";
    position: absolute;
    inset: -120px auto auto -160px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(43,117,130,.11);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(43,117,130,.025),0 0 0 90px rgba(43,117,130,.018);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 72px;
    position: relative;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.display,.page-hero h1 {
    font-size: clamp(42px,5.4vw,72px);
    line-height: 1.02;
    letter-spacing: -.045em;
    color: var(--navy);
    margin: 0 0 22px;
    max-width: 920px;
}

.lede {
    font-size: 20px;
    line-height: 1.55;
    color: #506975;
    max-width: 760px;
    margin: 0 0 30px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg,var(--navy),var(--teal));
    color: #fff;
    box-shadow: 0 12px 28px rgba(8,47,74,.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(8,47,74,.23);
}

.btn-secondary {
    background: #fff;
    color: var(--navy);
    border-color: rgba(8,47,74,.18);
}

.btn-secondary:hover {
    border-color: var(--teal);
    background: var(--ice);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
    margin-top: 44px;
}

.metric {
    padding: 16px 14px;
    border-top: 1px solid rgba(8,47,74,.16);
}

.metric b {
    display: block;
    font-size: 16px;
    color: var(--navy);
}

.metric span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.hero-card {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card:before {
    content: "";
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(43,117,130,.15),rgba(201,208,213,.14) 48%,transparent 70%);
    filter: blur(2px);
}

.hero-card img {
    position: relative;
    width: min(520px,100%);
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(8,47,74,.19);
    border: 1px solid rgba(8,47,74,.08);
}

section {
    padding: 82px 0;
}

.bg-soft {
    background: linear-gradient(180deg,#f7fafb,#eef5f6);
}

.section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 38px;
}

.section-head h2,.cta h2 {
    font-size: clamp(32px,4vw,48px);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--navy);
    margin: 0;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.loop {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 10px;
}

.loop span {
    padding: 18px 10px;
    text-align: center;
    border: 1px solid rgba(43,117,130,.2);
    background: #fff;
    border-radius: 12px;
    color: var(--navy);
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(8,47,74,.05);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.card,.service,.article,.person,.panel,.contact-box,form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 34px rgba(8,47,74,.055);
}

.card {
    padding: 28px;
}

.card .num {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--ice);
    color: var(--teal);
    font-weight: 900;
    margin-bottom: 22px;
}

.card h3,.panel h3,.person h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 22px;
}

.card p,.panel p,.person p,.service p,.article p {
    color: var(--muted);
}

.card a,.article a {
    font-weight: 800;
    color: var(--teal);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.panel {
    padding: 34px;
}

.panel.dark {
    background: linear-gradient(145deg,var(--navy),#0a3c58 58%,#175f6d);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow);
}

.panel.dark h3 {
    color: #fff;
}

.panel.dark p {
    color: #d6e4e9;
}

.checklist {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.checklist li {
    position: relative;
    padding-left: 27px;
    color: inherit;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal);
    font-weight: 900;
}

.panel.dark .checklist li:before {
    color: #9fd6dc;
}

.insights,.content-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.insight {
    min-height: 280px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg,#fff,#fafcfc);
}

.insight h3 {
    font-size: 22px;
    line-height: 1.2;
    color: var(--navy);
    margin: 14px 0 10px;
}

.insight p {
    color: var(--muted);
}

.tag,.pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border-radius: 999px;
    background: var(--ice);
    color: var(--teal);
    font-weight: 800;
    font-size: 12px;
    padding: 7px 11px;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px;
    border-radius: 26px;
    background: linear-gradient(135deg,var(--navy),#0d4e67 58%,var(--teal));
    color: #fff;
    box-shadow: var(--shadow);
}

.cta h2 {
    color: #fff;
}

.cta p {
    color: #d7e6ea;
    max-width: 760px;
}

.cta .btn-secondary {
    white-space: nowrap;
}

.page-hero {
    padding: 74px 0 60px;
    background: linear-gradient(135deg,#fff,#f1f7f8);
}

.page-hero h1 {
    font-size: clamp(38px,5vw,62px);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
}

.service {
    padding: 30px;
}

.service h2 {
    color: var(--navy);
    margin: 14px 0 10px;
    font-size: 26px;
}

.content-grid .article {
    overflow: hidden;
}

.article-top {
    height: 135px;
    padding: 22px;
    background: linear-gradient(135deg,#edf6f7,#dfecef);
    border-bottom: 1px solid var(--line);
    position: relative;
}

.article-top:after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border: 20px solid rgba(43,117,130,.08);
    border-radius: 50%;
    right: -30px;
    top: 10px;
}

.article-body {
    padding: 25px;
}

.article-body h2 {
    font-size: 21px;
    color: var(--navy);
    line-height: 1.25;
    margin: 0 0 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.person {
    padding: 28px;
}

.avatar {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,var(--navy),var(--teal));
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
    box-shadow: 0 12px 24px rgba(8,47,74,.18);
}

.role {
    color: var(--teal);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px;
}

.contact-box,form {
    padding: 30px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
    margin: 14px 0 7px;
}

input,select,textarea {
    width: 100%;
    font: inherit;
    padding: 13px 14px;
    border: 1px solid #cfd9de;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

input:focus,select:focus,textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(43,117,130,.09);
}

textarea {
    min-height: 130px;
    resize: vertical;
}

form .btn {
    margin-top: 18px;
}

footer {
    background: #072b42;
    color: #fff;
    padding: 50px 0 24px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
}

.footer-grid h4 {
    margin-top: 0;
}

.footer-grid a {
    display: block;
    color: #c6d6dc;
    margin: 7px 0;
    font-size: 14px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 34px;
    padding-top: 20px;
    color: #94abb5;
    font-size: 12px;
}

@media(max-width:900px) {
    .nav {
        height: 72px;
    }
    .brand {
        min-width: 0;
    }
    .brand img {
        width: 50px;
        height: 50px;
    }
    .brand span {
        font-size: 17px;
    }
    .brand small {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 28px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 28px rgba(8,47,74,.08);
    }
    nav ul.open {
        display: flex;
    }
    .hero {
        padding-top: 52px;
    }
    .hero-grid,.section-head,.split,.contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        min-height: unset;
    }
    .hero-card img {
        width: 460px;
    }
    .trust-strip {
        grid-template-columns: repeat(2,1fr);
    }
    .cards,.insights,.content-grid,.team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .loop {
        grid-template-columns: repeat(3,1fr);
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media(max-width:620px) {
    .container {
        width: min(100% - 28px,1160px);
    }
    .display,.page-hero h1 {
        font-size: 40px;
    }
    .lede {
        font-size: 17px;
    }
    section {
        padding: 60px 0;
    }
    .cards,.insights,.content-grid,.team-grid {
        grid-template-columns: 1fr;
    }
    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }
    .loop {
        grid-template-columns: 1fr 1fr;
    }
    .hero-card img {
        border-radius: 18px;
    }
    .cta {
        padding: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Image-led editorial sections */ .visual-banner {
    padding: 0 0 82px;
}

.visual-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(8,47,74,.13);
    background: var(--ice);
}

.visual-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.visual-frame:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 32%;
    background: linear-gradient(180deg,transparent,rgba(8,47,74,.08));
    pointer-events: none;
}

.image-feature {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 44px;
    align-items: center;
}

.image-feature.reverse {
    grid-template-columns: .92fr 1.08fr;
}

.image-feature.reverse .feature-media {
    order: 2;
}

.feature-media {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(8,47,74,.12);
    background: var(--ice);
}

.feature-media img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.feature-copy h2 {
    font-size: clamp(30px,3.8vw,46px);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--navy);
    margin: 0 0 18px;
}

.feature-copy p {
    color: var(--muted);
    font-size: 17px;
    margin: 0 0 16px;
}

.feature-copy .checklist {
    margin-top: 22px;
}

.caption {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
}

@media(max-width:900px) {
    .image-feature,.image-feature.reverse {
        grid-template-columns: 1fr;
    }
    .image-feature.reverse .feature-media {
        order: 0;
    }
    .visual-banner {
        padding-bottom: 60px;
    }
}

.contact-direct {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
}

.contact-direct strong {
    color: var(--navy);
}

.contact-direct a {
    color: var(--teal);
    font-weight: 750;
    word-break: break-word;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* Contact form: anti-spam field and delivery status */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message-success {
    color: #1f6f5c;
    font-weight: 600;
}

.form-message-error {
    color: #9b2c2c;
    font-weight: 600;
}

button:disabled {
    cursor: wait;
    opacity: 0.7;
}


/* Long-form CQI article pages */
.article-hero {
    padding: 74px 0 54px;
    background: linear-gradient(135deg,#ffffff,#eef6f7 70%,#e5f0f2);
    border-bottom: 1px solid var(--line);
}

.article-shell {
    max-width: 860px;
}

.article-back {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--teal);
    font-weight: 800;
}

.article-hero .pill {
    margin-bottom: 18px;
}

.article-hero h1 {
    margin: 0;
    max-width: 820px;
    color: var(--navy);
    font-size: clamp(40px,5vw,64px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.article-intro {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.65;
}

.article-section {
    padding: 72px 0 56px;
}

.article-copy {
    font-size: 18px;
    line-height: 1.82;
    color: #294757;
}

.article-copy p {
    margin: 0 0 24px;
}

.article-copy h2 {
    margin: 48px 0 18px;
    color: var(--navy);
    font-size: 34px;
    line-height: 1.15;
}

.article-copy blockquote {
    margin: 38px 0;
    padding: 28px 32px;
    border-left: 5px solid var(--teal);
    border-radius: 0 18px 18px 0;
    background: var(--ice);
    color: var(--navy);
    font-size: 24px;
    line-height: 1.45;
    font-weight: 800;
}

.article-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 34px 0;
}

.article-flow div {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.article-flow span {
    display: block;
    margin-bottom: 8px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.article-flow strong {
    color: var(--navy);
    font-size: 18px;
}

.article-references {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.article-references h3 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 20px;
}

.article-references p {
    margin: 0 0 10px;
    font-size: 15px;
}

.article-references a {
    color: var(--teal);
    font-weight: 700;
}

.article-question-section {
    padding: 36px 0 88px;
}

.article-question {
    padding: 42px;
    border-radius: 26px;
    background: linear-gradient(135deg,var(--navy),#0d4e67 58%,var(--teal));
    color: #fff;
    box-shadow: var(--shadow);
}

.article-question .eyebrow {
    color: #9fd6dc;
}

.article-question h2 {
    margin: 12px 0 16px;
    color: #fff;
    font-size: clamp(30px,4vw,44px);
    line-height: 1.12;
}

.article-question p {
    max-width: 700px;
    margin: 0 0 24px;
    color: #d7e6ea;
    font-size: 17px;
}

@media(max-width:620px) {
    .article-hero {
        padding: 54px 0 42px;
    }

    .article-hero h1 {
        font-size: 38px;
    }

    .article-intro {
        font-size: 18px;
    }

    .article-section {
        padding: 54px 0 38px;
    }

    .article-copy {
        font-size: 17px;
        line-height: 1.75;
    }

    .article-copy blockquote {
        padding: 22px 22px;
        font-size: 21px;
    }

    .article-question {
        padding: 30px 24px;
    }
}
