@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: 'Newsreader';
    src: url('assets/fonts/newsreader-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 500 600;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
}

:root {
    --navy: #17324a;
    --dark-navy: #102638;
    --gold: #b8893f;
    --light-gold: #e7d5ad;
    --accent: #9f4d31;
    --accent-soft: #f1d8cc;
    --ink: #20201d;
    --ink-soft: #66645e;
    --paper: #f5f2ea;
    --paper-strong: #fffdf8;
    --paper-muted: #ece8de;
    --mist: #e9eef1;
    --line: #d8d4ca;
    --line-strong: #c4bfb3;
    --success: #2f6b55;
    --danger: #a4473c;
    --shadow: 0 18px 50px rgba(32, 32, 29, 0.08);
    --shadow-soft: 0 6px 20px rgba(32, 32, 29, 0.055);
    --radius: 18px;
    --radius-sm: 12px;
}

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

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

body.site-body {
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    overflow-x: clip;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(195, 103, 69, 0.07), transparent 25rem),
        radial-gradient(circle at 92% 16%, rgba(23, 50, 74, 0.07), transparent 28rem),
        var(--paper);
}

body.site-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image: radial-gradient(rgba(32, 32, 29, 0.18) 0.55px, transparent 0.55px);
    background-size: 9px 9px;
}

.site-shell {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.display-font,
.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4 {
    font-family: 'Newsreader', Georgia, serif;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.site-body button,
.site-body input,
.site-body select,
.site-body textarea {
    font: inherit;
}

.site-body button,
.site-body a {
    -webkit-tap-highlight-color: transparent;
}

.site-body :focus-visible {
    outline: 3px solid rgba(195, 103, 69, 0.34);
    outline-offset: 3px;
}

.site-container {
    width: min(1440px, calc(100% - 3rem));
    margin-inline: auto;
    min-width: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    border-bottom: 1px solid rgba(196, 191, 179, 0.72);
    background: rgba(245, 242, 234, 0.92);
    backdrop-filter: blur(18px);
}

.site-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 72px;
    gap: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.7rem;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    padding: 0.25rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper-strong);
    box-shadow: none;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 0;
}

.brand-eyebrow {
    font-size: 0.61rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.brand-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.14rem;
    font-weight: 600;
    line-height: 1.05;
    color: var(--ink);
}

.brand-title strong {
    color: var(--navy);
    font-weight: inherit;
}

.brand-subtitle {
    display: none;
}

.site-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    max-width: 100%;
    gap: 0.25rem;
    margin-left: auto;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.site-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.72rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #5c5a55;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    transform: none;
    color: var(--ink);
    background: rgba(32, 32, 29, 0.055);
}

.nav-link.is-active,
.nav-link.active {
    color: var(--ink);
    background: var(--paper-strong);
    box-shadow: inset 0 0 0 1px var(--line);
}

.nav-link.is-active::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    right: 0.72rem;
    bottom: 3px;
    left: 0.72rem;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.page-content {
    padding: 1.5rem 0 4rem;
}

.page-stack {
    display: grid;
    min-width: 0;
    gap: 1.15rem;
}

.surface-panel {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: var(--shadow-soft);
    backdrop-filter: none;
}

.panel-heading {
    display: grid;
    gap: 0.35rem;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.45rem;
    color: var(--accent);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.panel-kicker::before {
    content: '';
    width: 20px;
    height: 1px;
    background: currentColor;
}

.panel-title {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.2rem, 4.8vw, 5.3rem);
    font-weight: 500;
    line-height: 0.95;
}

.panel-copy {
    max-width: 46rem;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.65;
}

.cta-row,
.pill-collection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cta-primary,
.cta-secondary,
.cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    gap: 0.45rem;
    padding: 0.65rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cta-primary {
    color: #fff;
    background: var(--navy);
    box-shadow: none;
}

.cta-secondary {
    color: #fff;
    background: var(--accent);
    box-shadow: none;
}

.cta-ghost {
    color: var(--ink);
    background: transparent;
    border-color: var(--line-strong);
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-ghost:hover,
.cta-primary:focus-visible,
.cta-secondary:focus-visible,
.cta-ghost:focus-visible {
    transform: none;
    filter: brightness(0.96);
}

.info-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    gap: 0.35rem;
    padding: 0.35rem 0.58rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 600;
}

.info-pill strong {
    color: var(--ink);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.metric-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: none;
}

.metric-label {
    display: block;
    color: var(--ink-soft);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.metric-value {
    display: block;
    margin-top: 0.3rem;
    color: var(--ink);
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1;
}

.metric-detail {
    margin-top: 0.35rem;
    color: var(--ink-soft);
    font-size: 0.76rem;
    line-height: 1.45;
}

.section-grid {
    display: grid;
    min-width: 0;
    gap: 1rem;
}

.section-grid.two-col {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
}

.footer-strip {
    padding: 0 0 2rem;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.footer-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 1120px) {
    .site-header-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.75rem 0 0.55rem;
    }

    .site-nav {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 820px) {
    .site-container {
        width: min(100% - 1.5rem, 1440px);
    }

    .metric-grid,
    .section-grid.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-content {
        padding-top: 1rem;
    }
}

@media (max-width: 560px) {
    .site-container {
        width: min(100% - 1rem, 1440px);
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .brand-eyebrow {
        display: none;
    }

    .brand-title {
        font-size: 1rem;
    }

    .site-header-bar {
        min-height: 0;
        padding-top: 0.55rem;
    }

    .nav-link {
        min-height: 36px;
        padding-inline: 0.58rem;
        font-size: 0.7rem;
    }

    .metric-grid,
    .section-grid.two-col {
        grid-template-columns: 1fr;
    }

    .panel-title {
        font-size: clamp(2.3rem, 14vw, 3.8rem);
    }

    .footer-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
