:root {
    --navy: #111d2e;
    --navy-mid: #1a2a3e;
    --navy-light: #243448;
    --accent: #0a5e8a;
    --accent-hover: #084a6e;
    --gold: #b89b5e;
    --bg: #f5f6f8;
    --card: #ffffff;
    --text: #1e2a3a;
    --text-secondary: #4a5568;
    --border: #dce1e8;
    --border-light: #e8ecf1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
    --max-width: 1060px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Top accent line ── */

.accent-line {
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    flex-shrink: 0;
}

/* ── Header / Hero ── */

.site-header {
    position: relative;
    color: #ffffff;
    flex-shrink: 0;
    background: var(--navy) url("/img/header.jpg") center / cover no-repeat;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    width: 100%;
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(
        to bottom,
        rgba(17, 29, 46, 0.55) 0%,
        rgba(17, 29, 46, 0.78) 50%,
        rgba(17, 29, 46, 0.92) 100%
    );
    padding: 2.5rem 0 2rem;
}

.site-header .header-inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-header .eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.site-header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hero-sub {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ── Desktop Navigation ── */

.site-nav {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-nav ul {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    list-style: none;
    display: flex;
    gap: 0;
}

.site-nav a {
    display: block;
    text-decoration: none;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.73rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 0.95rem 1.3rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    position: relative;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--accent);
    outline: none;
}

.site-nav a.is-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 700;
}

/* ── Mobile Navigation ── */

.site-nav-mobile {
    display: none;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-menu-button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    padding: 0.9rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
}

.mobile-menu-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.25s ease;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -5px;
}

.hamburger::after {
    top: 5px;
}

.mobile-menu-button[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-button[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(3.5px, 3.5px);
}

.mobile-menu-button[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(3.5px, -3.5px);
}

.mobile-menu-panel {
    border-top: 1px solid var(--border-light);
}

.mobile-menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0.3rem 0;
}

.mobile-menu-panel a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}

.mobile-menu-panel a.is-active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: #f0f6fa;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus-visible {
    color: var(--accent);
    background: #f5f8fb;
    outline: none;
}

/* ── Content ── */

.content-wrapper {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem;
}

.content-card {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 2.4rem 2.8rem;
}

.content-card h2 {
    margin: 0 0 0.3rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.content-card h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.75rem;
    margin-bottom: 1.4rem;
}

.content-card p {
    margin: 0 0 1.15rem;
    line-height: 1.75;
    color: var(--text);
}

.content-card ul {
    margin: 0 0 1.15rem;
    padding-left: 0;
    list-style: none;
}

.content-card li {
    margin: 0 0 0.7rem;
    line-height: 1.7;
    padding-left: 1.3rem;
    position: relative;
}

.content-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 1px;
    transform: rotate(45deg);
}

/* ── Links ── */

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

a:hover,
a:focus-visible {
    color: var(--accent-hover);
    border-bottom-color: var(--accent-hover);
}

/* ── Footer ── */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    margin-top: auto;
}

.site-footer .footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.6rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.site-footer p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.6;
}

.site-footer a {
    color: var(--gold);
    border-bottom: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #d4b876;
}

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ── Utility ── */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Responsive ── */

@media (max-width: 860px) {
    .site-nav {
        display: none;
    }

    .site-nav-mobile {
        display: block;
    }

    .content-wrapper {
        padding: 1.5rem 1rem 2rem;
    }

    .content-card {
        padding: 1.6rem 1.4rem;
    }

    .site-header {
        min-height: 200px;
    }

    .hero-overlay {
        padding: 1.8rem 0 1.4rem;
    }

    .hero-sub {
        font-size: 0.82rem;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .content-card {
        padding: 1.2rem 1rem;
    }

    .content-card h2 {
        font-size: 1.2rem;
    }

    body {
        font-size: 14.5px;
    }
}
