:root {
    --blue: #16216b;
    --blue-600: #1f2c8c;
    --blue-400: #3b4bc0;
    --red: #c0392b;
    --ink: #15161f;
    --muted: #5a5f73;
    --line: #e4e7f1;
    --bg: #f6f7fb;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(22, 33, 107, 0.08);
    --shadow-sm: 0 4px 14px rgba(22, 33, 107, 0.06);
    --maxw: 1140px;
    --nav-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--blue-600); }

img { max-width: 100%; height: auto; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ---------- Top navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
    white-space: nowrap;
}

.brand img { height: 54px; width: auto; display: block; }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-menu > li { position: relative; }

.nav-menu a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.has-dropdown:hover > a {
    background: var(--bg);
    color: var(--blue-600);
}

.nav-menu a.active { color: var(--blue-600); font-weight: 600; }

.has-dropdown > a::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    transform: translateY(2px);
    opacity: .6;
}

.dropdown {
    list-style: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s, transform .18s, visibility .18s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a { font-weight: 500; font-size: 0.9rem; }
.dropdown a:hover { background: var(--bg); color: var(--blue-600); }

.nav-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(1200px 500px at 80% -10%, rgba(192, 57, 43, .35), transparent 60%),
        linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 45%, var(--blue-400) 100%);
    overflow: hidden;
}

.hero-inner {
    padding: 92px 0 96px;
    max-width: 760px;
}

.hero .eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 10px;
    transition: transform .12s, box-shadow .15s, background .15s;
}

.btn-primary { background: #fff; color: var(--blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }

/* ---------- Page header (interior pages) ---------- */
.page-head {
    background:
        radial-gradient(900px 400px at 90% -40%, rgba(192, 57, 43, .25), transparent 60%),
        linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%);
    color: #fff;
    padding: 56px 0 52px;
}

.page-head .crumbs {
    font-size: 0.82rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 12px;
}
.page-head .crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-head .crumbs a:hover { text-decoration: underline; }

.page-head h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.page-head p.lead {
    margin-top: 12px;
    color: rgba(255,255,255,.9);
    max-width: 720px;
}

/* ---------- Main / content ---------- */
main { flex: 1; }

.section { padding: 64px 0; }
.section.tight { padding: 44px 0; }

.content-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 56px 0;
}

.prose {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 44px 46px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.prose h2 {
    font-size: 1.4rem;
    color: var(--blue-600);
    margin: 32px 0 14px;
    letter-spacing: -0.2px;
}
.prose h3 { font-size: 1.15rem; color: var(--ink); margin: 26px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }

.prose p { margin-bottom: 16px; color: #2b2d3a; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 10px; margin: 12px 0; }
.prose a { color: var(--blue-600); font-weight: 500; }

.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.prose td, .prose th { padding: 6px 10px; vertical-align: top; }

/* Uniform team / board portraits regardless of source dimensions */
.prose img[src*="/team/"] {
    width: 190px;
    height: 230px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
    margin: 0 0 10px;
    box-shadow: var(--shadow-sm);
    background: var(--line);
}

/* ---------- Cards / grids ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    text-decoration: none;
    color: var(--ink);
    display: block;
    transition: transform .14s, box-shadow .18s, border-color .18s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd2e8; }

.card .kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--red);
    font-weight: 700;
}
.card h3 { font-size: 1.12rem; margin: 8px 0 8px; color: var(--blue-600); }
.card p { color: var(--muted); font-size: 0.93rem; }

.section-title { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-title .kicker {
    color: var(--red); font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; font-size: 0.78rem;
}
.section-title h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 12px; letter-spacing: -0.4px; }
.section-title p { color: var(--muted); }

.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- News / documents ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }

.news-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 26px 30px;
}
.news-item .date {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--red);
    font-weight: 700;
}
.news-item h3 { font-size: 1.2rem; margin: 6px 0 10px; color: var(--blue-600); }
.news-item p { color: #2b2d3a; margin-bottom: 10px; }
.news-item a { color: var(--blue-600); font-weight: 500; }

.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--blue-600);
}
.doc-link:hover { background: #eef0f8; }
.doc-link::before { content: "PDF"; font-size: 0.62rem; background: var(--red); color: #fff; padding: 2px 5px; border-radius: 4px; letter-spacing: .5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 0 auto; }
.info-card {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px;
}
.info-card h3 { color: var(--blue-600); margin-bottom: 14px; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #c8cad6;
    padding: 54px 0 28px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}
.site-footer h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 16px; }
.site-footer a { color: #c8cad6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 18px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
}
.footer-brand p { font-size: 0.9rem; color: #9a9db0; max-width: 320px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 22px;
    font-size: 0.84rem;
    color: #8b8ea2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        margin: 0;
        padding: 16px;
        gap: 2px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .25s ease;
        border-top: 1px solid var(--line);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu > li > a { padding: 14px 12px; border-radius: 8px; }
    .has-dropdown > a::after { float: right; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--line);
        border-radius: 0;
        margin: 0 0 6px 14px;
        padding: 0;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .prose { padding: 30px 24px; }
}
