:root {
    --navy: #061a33;
    --navy-2: #0b2445;
    --blue: #155cba;
    --blue-2: #1f78dc;
    --gold: #c79b3b;
    --gold-2: #ead39a;
    --ink: #152033;
    --muted: #5c6878;
    --line: #dce4ef;
    --paper: #ffffff;
    --soft: #f4f7fb;
    --shadow: 0 22px 60px rgba(6, 26, 51, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

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

.skip-link {
    background: var(--gold);
    color: var(--navy);
    font-weight: 800;
    left: 16px;
    padding: 10px 14px;
    position: fixed;
    top: -80px;
    z-index: 1000;
}

.skip-link:focus {
    top: 16px;
}

.container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
    width: 100%;
}

.site-header {
    background: rgba(6, 26, 51, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 50;
}

.header-inner {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto;
    max-width: 1280px;
    min-height: 82px;
    padding: 0 28px;
}

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

.brand-mark {
    align-items: center;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--gold), #fff1bc);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: var(--navy);
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0;
}

.brand-text {
    color: #fff;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.08;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 22px;
    justify-content: flex-end;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
    color: var(--gold-2);
}

.header-cta,
.btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
}

.header-cta {
    background: var(--gold);
    color: var(--navy);
    font-size: 14px;
    white-space: nowrap;
}

.nav-toggle,
.nav-button {
    display: none;
}

.hero {
    background: var(--navy);
    color: #fff;
    min-height: calc(100vh - 82px);
    overflow: hidden;
    position: relative;
}

.hero-media {
    background-image: url("../images/gfe/global-finance-security-hero.png");
    background-position: center right;
    background-size: cover;
    inset: 0;
    opacity: 0.7;
    position: absolute;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(6, 26, 51, 0.98) 0%, rgba(6, 26, 51, 0.9) 36%, rgba(6, 26, 51, 0.48) 74%, rgba(6, 26, 51, 0.68) 100%),
        radial-gradient(circle at 72% 28%, rgba(199, 155, 59, 0.24), transparent 30%),
        linear-gradient(0deg, rgba(6, 26, 51, 0.98), transparent 34%);
    inset: 0;
    position: absolute;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
    min-height: calc(100vh - 82px);
    padding-bottom: 74px;
    padding-top: 72px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 14px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

h1,
h2 {
    font-family: "Source Serif 4", Georgia, serif;
}

h1 {
    font-size: clamp(40px, 5.2vw, 68px);
    max-width: 760px;
}

h2 {
    color: var(--navy);
    font-size: clamp(32px, 4.4vw, 54px);
}

h3 {
    color: var(--navy);
    font-size: 20px;
}

.hero-lede {
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(16px, 1.7vw, 20px);
    margin: 22px 0 30px;
    max-width: 720px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #fff;
}

.btn:hover,
.btn:focus,
.header-cta:hover,
.header-cta:focus {
    transform: translateY(-1px);
}

.hero-panel,
.dashboard,
.integrity-panel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-panel {
    align-self: end;
    background: rgba(8, 31, 61, 0.76);
    backdrop-filter: blur(18px);
    padding: 24px;
}

.panel-header,
.dash-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.panel-header span,
.dash-top span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.panel-header strong {
    background: rgba(68, 215, 182, 0.13);
    border: 1px solid rgba(68, 215, 182, 0.36);
    border-radius: 999px;
    color: #8df0d6;
    font-size: 12px;
    padding: 5px 10px;
}

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

.metric-grid div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    padding: 16px;
}

.metric-grid span,
.metric-grid strong {
    display: block;
}

.metric-grid span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
}

.metric-grid strong {
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    margin-top: 8px;
}

.risk-lines {
    display: grid;
    gap: 10px;
}

.risk-lines span {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.risk-lines span::before {
    background: linear-gradient(90deg, var(--blue-2), var(--gold));
    border-radius: inherit;
    content: "";
    display: block;
    height: 100%;
    width: var(--risk);
}

.section,
.section-dark {
    padding: 104px 0;
}

.mission {
    background:
        linear-gradient(90deg, rgba(21, 92, 186, 0.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(21, 92, 186, 0.06) 1px, transparent 1px),
        #fff;
    background-size: 46px 46px;
}

.split {
    display: grid;
    gap: 54px;
    grid-template-columns: 0.9fr 1.1fr;
}

.mission-copy {
    border-left: 4px solid var(--gold);
    color: var(--muted);
    font-size: 19px;
    padding-left: 30px;
}

.mission-copy p:first-child {
    margin-top: 0;
}

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

.section-heading {
    margin-bottom: 42px;
    max-width: 760px;
}

.section-action {
    margin-top: 30px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.focus {
    background: var(--soft);
}

.focus-grid {
    grid-template-columns: repeat(4, 1fr);
}

.focus-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 266px;
    padding: 26px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.focus-card:hover {
    border-color: rgba(199, 155, 59, 0.72);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.focus-card i {
    align-items: center;
    background: rgba(21, 92, 186, 0.09);
    border-radius: 8px;
    color: var(--blue);
    display: inline-flex;
    font-size: 22px;
    height: 48px;
    justify-content: center;
    margin-bottom: 22px;
    width: 48px;
}

.focus-card p,
.process p,
.report-card p,
.partnerships p,
.integrity p,
.final-cta p,
.site-footer p {
    color: var(--muted);
}

.section-dark {
    background:
        radial-gradient(circle at 18% 20%, rgba(31, 120, 220, 0.2), transparent 28%),
        linear-gradient(135deg, #061a33, #0c2a52);
    color: #fff;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.intelligence-grid,
.partnership-grid {
    align-items: center;
    display: grid;
    gap: 60px;
    grid-template-columns: 0.9fr 1.1fr;
}

.stat-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 34px;
}

.stat-row div {
    border-top: 2px solid var(--gold);
    padding-top: 15px;
}

.stat-row strong,
.stat-row span {
    display: block;
}

.stat-row strong {
    color: #fff;
    font-size: 20px;
}

.stat-row span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.dashboard {
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    padding: 26px;
}

.dash-top strong {
    color: var(--gold-2);
}

.dash-map {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(31, 120, 220, 0.24), transparent 60%);
    background-size: 32px 32px, 32px 32px, auto;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    height: 300px;
    margin: 22px 0;
    position: relative;
}

.dash-map::before,
.dash-map::after {
    border: 1px solid rgba(234, 211, 154, 0.38);
    content: "";
    position: absolute;
}

.dash-map::before {
    border-radius: 46% 54% 51% 49%;
    height: 42%;
    left: 18%;
    top: 26%;
    width: 62%;
}

.dash-map::after {
    border-radius: 999px;
    height: 70%;
    left: 10%;
    top: 15%;
    width: 80%;
}

.node {
    background: var(--gold);
    border: 4px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    height: 18px;
    position: absolute;
    width: 18px;
    z-index: 2;
}

.node-a { left: 22%; top: 42%; }
.node-b { left: 46%; top: 28%; }
.node-c { right: 28%; top: 54%; }
.node-d { right: 18%; top: 34%; }

.dash-bars {
    align-items: end;
    display: flex;
    gap: 12px;
    height: 88px;
}

.dash-bars span {
    background: linear-gradient(180deg, var(--gold), var(--blue-2));
    border-radius: 6px 6px 0 0;
    flex: 1;
    min-width: 0;
}

.process-grid {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(4, 1fr);
}

.process-grid article {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
}

.process-grid span {
    color: var(--gold);
    display: inline-block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 30px;
}

.publications {
    background: var(--soft);
}

.reports-heading {
    align-items: end;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    max-width: none;
}

.text-link {
    color: var(--blue);
    font-weight: 900;
}

.report-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, 1fr);
}

.report-grid-wide {
    grid-template-columns: repeat(3, 1fr);
}

.report-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 280px;
    padding: 26px;
}

.report-card span {
    color: var(--gold);
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 34px;
    text-transform: uppercase;
}

.partnerships {
    background: #fff;
}

.partner-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}

.partner-list span {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    font-weight: 800;
    padding: 20px;
}

.integrity {
    background:
        linear-gradient(135deg, rgba(6, 26, 51, 0.94), rgba(11, 36, 69, 0.94)),
        url("../images/gfe/global-finance-security-hero.png") center / cover;
}

.integrity-panel {
    background: rgba(255, 255, 255, 0.96);
    padding: clamp(28px, 5vw, 58px);
}

.integrity-panel blockquote {
    border-left: 4px solid var(--gold);
    color: var(--navy);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    margin: 34px 0 0;
    padding-left: 26px;
}

.final-cta {
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    padding: 78px 0;
}

.final-cta h2,
.final-cta p {
    color: #fff;
}

.final-cta-inner {
    align-items: center;
    display: flex;
    gap: 32px;
    justify-content: space-between;
}

.final-cta-inner p {
    margin-bottom: 0;
    max-width: 680px;
}

.site-footer {
    background: #041225;
    color: #fff;
}

.footer-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1.15fr 0.65fr 0.95fr 0.65fr 0.65fr;
    padding-bottom: 54px;
    padding-top: 62px;
}

.footer-brand {
    margin-bottom: 18px;
}

.site-footer h2 {
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    display: block;
    margin: 10px 0;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--gold-2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
}

.footer-translator .gtranslate_wrapper {
    min-height: 42px;
}

.subpage {
    background: var(--soft);
}

.subpage .site-header {
    position: sticky;
}

.subpage-nav {
    justify-content: flex-end;
}

.subpage-hero {
    background:
        linear-gradient(90deg, rgba(6, 26, 51, 0.96), rgba(6, 26, 51, 0.82)),
        url("../images/gfe/global-finance-security-hero.png") center / cover;
    color: #fff;
    padding: 96px 0 82px;
}

.subpage-hero h1 {
    font-size: clamp(40px, 5vw, 66px);
    max-width: 820px;
}

.subpage-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 19px;
    max-width: 760px;
}

.contact-grid {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: 0.85fr 1.15fr;
}

.content-grid {
    align-items: start;
    display: grid;
    gap: 46px;
    grid-template-columns: minmax(0, 1fr) 360px;
}

.content-main {
    max-width: 820px;
}

.content-main h2 {
    font-size: clamp(28px, 3vw, 42px);
    margin-top: 42px;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main p,
.lead-copy {
    color: var(--muted);
    font-size: 18px;
}

.lead-copy {
    border-left: 4px solid var(--gold);
    color: var(--navy);
    font-size: 22px;
    margin: 0 0 36px;
    padding-left: 24px;
}

.side-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    position: sticky;
    top: 108px;
}

.side-panel h3 {
    margin-bottom: 18px;
}

.check-list {
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.check-list li {
    color: var(--muted);
    padding-left: 26px;
    position: relative;
}

.check-list li::before {
    background: var(--gold);
    border-radius: 999px;
    content: "";
    height: 9px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 9px;
}

.contact-panel,
.contact-form,
.legal-copy {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-panel,
.contact-form {
    padding: clamp(24px, 4vw, 40px);
}

.contact-panel h2,
.legal-copy h2 {
    color: var(--navy);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 30px;
    margin: 0 0 14px;
}

.contact-panel a,
.legal-copy a {
    color: var(--blue);
    font-weight: 800;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form label {
    color: var(--navy);
    font-size: 14px;
    font-weight: 900;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 50px;
    padding: 12px 14px;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    outline: 3px solid rgba(21, 92, 186, 0.16);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    border: 0;
    cursor: pointer;
    margin-top: 10px;
}

.form-notice {
    border-radius: 8px;
    font-weight: 800;
    padding: 14px 16px;
}

.form-notice.success {
    background: #e9f8f1;
    color: #12613b;
}

.form-notice.error {
    background: #fff0ed;
    color: #9d2d1f;
}

.legal-copy {
    max-width: 880px;
    padding: clamp(26px, 5vw, 54px);
}

.legal-copy h2 {
    font-size: 28px;
    margin-top: 30px;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

@media (prefers-reduced-motion: no-preference) {
    .focus-card,
    .btn,
    .header-cta {
        transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }

    .hero-media {
        animation: slow-pan 24s ease-in-out infinite alternate;
    }
}

@keyframes slow-pan {
    from {
        transform: scale(1.02) translateX(0);
    }
    to {
        transform: scale(1.06) translateX(-18px);
    }
}

@media (max-width: 1120px) {
    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .nav-button {
        cursor: pointer;
        display: grid;
        gap: 5px;
        justify-self: end;
        padding: 10px;
    }

    .nav-button span {
        background: #fff;
        border-radius: 999px;
        display: block;
        height: 2px;
        width: 26px;
    }

    .nav-links,
    .header-cta {
        display: none;
    }

    .nav-toggle:checked ~ .nav-links {
        background: #071d39;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        display: grid;
        gap: 0;
        grid-column: 1 / -1;
        justify-content: stretch;
        margin: 0 -28px;
        padding: 8px 28px 22px;
    }

    .nav-toggle:checked ~ .nav-links a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        padding: 14px 0;
    }

    .hero-grid,
    .split,
    .intelligence-grid,
    .partnership-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        align-self: auto;
        max-width: 600px;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .report-grid,
    .report-grid-wide,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .side-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 18px;
    }

    .header-inner {
        min-height: 72px;
        padding: 0 18px;
    }

    .brand-text {
        font-size: 18px;
        max-width: 210px;
    }

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero-grid {
        padding-bottom: 54px;
        padding-top: 58px;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 34px;
    }

    .button-row,
    .final-cta-inner,
    .reports-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section,
    .section-dark {
        padding: 72px 0;
    }

    .mission-copy {
        font-size: 17px;
        padding-left: 20px;
    }

    .focus-grid,
    .process-grid,
    .report-grid,
    .report-grid-wide,
    .partner-list,
    .stat-row,
    .footer-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .focus-card,
    .process-grid article,
    .report-card {
        min-height: auto;
        padding: 24px;
    }

    .dashboard {
        padding: 18px;
    }

    .dash-map {
        height: 230px;
    }
}

@media (max-width: 430px) {
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .brand-mark {
        flex-basis: 40px;
    }

    .brand-text {
        font-size: 16px;
        max-width: 175px;
    }
}
