:root {
    --navy: #0b2545;
    --navy-2: #13315c;
    --teal: #1b9aaa;
    --teal-dark: #157d8b;
    --amber: #f2a900;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --text: #1c2733;
    --muted: #5b6b7c;
    --border: #e2e8f0;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(11, 37, 69, 0.08), 0 8px 24px rgba(11, 37, 69, 0.06);
}

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

html { background: var(--bg); scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Source Serif 4', Georgia, serif; line-height: 1.25; color: var(--navy); }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
    background: var(--navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(11, 37, 69, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-mark {
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    font-family: 'Source Serif 4', serif;
    padding: 8px 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 0.82rem; font-weight: 600; color: #cde4ff; }
.brand-sub { font-size: 0.95rem; font-weight: 600; color: #fff; }

.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a {
    color: #dbe7f5;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 500;
    display: block;
}
.main-nav a:hover { background: var(--navy-2); color: #fff; text-decoration: none; }
.main-nav a.active { background: var(--teal); color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
    background:
        linear-gradient(rgba(11, 37, 69, 0.86), rgba(19, 49, 92, 0.9)),
        url('../images/hero.png') center/cover no-repeat;
    color: #fff;
    padding: 80px 0;
}
.hero-inner { max-width: 760px; }
.badge {
    display: inline-block;
    background: rgba(27, 154, 170, 0.25);
    border: 1px solid var(--teal);
    color: #b9ecf3;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: 2.5rem; margin-bottom: 16px; }
.hero p { font-size: 1.12rem; color: #d7e4f2; max-width: 640px; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.hero-meta div span { display: block; }
.hero-meta .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: #8fb4d9; }
.hero-meta .value { font-size: 1rem; font-weight: 600; color: #fff; }

.btn {
    display: inline-block;
    background: var(--teal);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 0;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: var(--teal-dark); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--teal); color: #b9ecf3; margin-left: 10px; }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--teal-dark); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; }
.section-head h2 { font-size: 2rem; margin: 8px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; font-size: 2.1rem; }
.page-hero p { color: #c6d7ea; margin-top: 10px; max-width: 680px; }
.breadcrumb { font-size: 0.82rem; color: #8fb4d9; margin-bottom: 12px; }
.breadcrumb a { color: #b9ecf3; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(27, 154, 170, 0.12);
    color: var(--teal-dark);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 1.2rem;
    margin-bottom: 16px;
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .num { font-family: 'Source Serif 4', serif; font-size: 1.9rem; color: var(--teal-dark); font-weight: 700; }
.stat .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* pills / tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: rgba(27, 154, 170, 0.1); color: var(--teal-dark); padding: 7px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; }

/* two column content */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* info table */
.info-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 0.96rem; }
.info-table th { width: 34%; background: #f0f5fb; color: var(--navy); font-family: 'Source Serif 4', serif; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* prose */
.prose h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 16px; color: #33414f; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #33414f; }
.prose li { margin-bottom: 8px; }

/* editorial */
.member { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.member .m-name { font-weight: 600; color: var(--navy); font-family: 'Source Serif 4', serif; }
.member .m-aff { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.role-title { font-size: 1.25rem; margin: 34px 0 16px; color: var(--navy); border-left: 4px solid var(--teal); padding-left: 12px; }

/* archive issue */
.issue { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-bottom: 24px; }
.issue-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 16px; }
.issue-head h3 { font-size: 1.3rem; }
.issue-head .period { color: var(--teal-dark); font-weight: 600; font-size: 0.9rem; }
.issue ol { margin-left: 20px; }
.issue li { margin-bottom: 10px; color: #33414f; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 14px; padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 1.9rem; }
.cta-band p { color: #cfe0f0; max-width: 560px; margin: 12px auto 26px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.92rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
    font-family: inherit; font-size: 0.95rem; background: var(--surface); color: var(--text);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #e6f6ee; color: #1b7a44; border: 1px solid #b7e4ca; }
.alert-error { background: #fdeaea; color: #b3261e; border: 1px solid #f5c2c0; }
.contact-info li { list-style: none; margin-bottom: 14px; padding-left: 4px; }
.contact-info .ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); display: block; }
.contact-info .ci-value { font-weight: 500; color: var(--navy); }

/* footer */
.site-footer { background: var(--navy); color: #c6d7ea; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 52px 20px; }
.footer-brand { color: #fff; font-size: 1.5rem; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a { color: #c6d7ea; }
.footer-col a:hover { color: #fff; }
.footer-muted { color: #8fb4d9; font-size: 0.88rem; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 18px; }
.footer-bottom p { font-size: 0.84rem; color: #8fb4d9; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--navy); display: none; padding: 12px 20px 20px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.25);
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .hero h1 { font-size: 1.9rem; }
    .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 32px 20px; }
    .btn-outline { margin-left: 0; margin-top: 10px; }
}
