:root {
    --navy: #1e3a5f;
    --gold: #c9a961;
    --light-gold: #e8d4a2;
    --dark-navy: #0f1f33;
    --ink: #16263b;
    --paper: #f4efe4;
    --mist: #ebf1f6;
    --cloud: rgba(255, 255, 255, 0.8);
    --line: rgba(22, 38, 59, 0.12);
    --shadow: 0 22px 60px rgba(15, 31, 51, 0.12);
    --shadow-soft: 0 14px 34px rgba(15, 31, 51, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(201, 169, 97, 0.28), transparent 24%),
        radial-gradient(circle at 82% 0%, rgba(30, 58, 95, 0.22), transparent 28%),
        linear-gradient(180deg, #f7f2e8 0%, #eef3f7 28%, #f7f9fc 100%);
    position: relative;
    overflow-x: hidden;
}

body.site-body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 72%);
    pointer-events: none;
    z-index: 0;
}

body.site-body::after {
    content: '';
    position: fixed;
    inset: auto -140px 80px auto;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.18), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

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

.display-font,
.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.04em;
}

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

.site-header {
    padding: 1rem 0 0;
}

.site-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 26px;
    background: rgba(15, 31, 51, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
    color: white;
}

.brand-mark {
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    border-radius: 22px;
    padding: 0.5rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 212, 162, 0.92));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

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

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
}

.brand-title {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1;
}

.brand-title strong {
    color: var(--light-gold);
    font-weight: 700;
}

.brand-subtitle {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    transform: translateY(-1px);
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.is-active {
    color: var(--dark-navy);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(201, 169, 97, 0.25);
}

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

.page-stack {
    display: grid;
    gap: 1.5rem;
}

.surface-panel {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.panel-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
}

.panel-kicker::before {
    content: '';
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--navy));
}

.panel-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 0.96;
}

.panel-copy {
    margin: 0;
    max-width: 50rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #5e6b7b;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.cta-primary,
.cta-secondary,
.cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    border: 0;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-primary {
    color: white;
    background: linear-gradient(135deg, var(--navy), var(--dark-navy));
    box-shadow: 0 14px 28px rgba(15, 31, 51, 0.16);
}

.cta-secondary {
    color: var(--dark-navy);
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    box-shadow: 0 14px 28px rgba(201, 169, 97, 0.2);
}

.cta-ghost {
    color: var(--navy);
    background: rgba(30, 58, 95, 0.08);
    border: 1px solid rgba(30, 58, 95, 0.12);
}

.cta-primary:hover,
.cta-secondary:hover,
.cta-ghost:hover,
.cta-primary:focus-visible,
.cta-secondary:focus-visible,
.cta-ghost:focus-visible {
    transform: translateY(-1px);
}

.pill-collection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.72rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-soft);
    color: #4f5f72;
    font-size: 0.9rem;
    font-weight: 600;
}

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

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

.metric-card {
    padding: 1.15rem 1.2rem;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 243, 247, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.metric-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #6b7a8a;
}

.metric-value {
    display: block;
    margin-top: 0.45rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1;
    color: var(--navy);
}

.metric-detail {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    color: #5f6e7e;
    line-height: 1.55;
}

.section-grid {
    display: grid;
    gap: 1.25rem;
}

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

.footer-strip {
    padding: 1.5rem 0 3rem;
    color: #5f6e7e;
    font-size: 0.92rem;
}

.footer-panel {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.1rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 1080px) {
    .metric-grid,
    .section-grid.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        justify-content: flex-start;
    }

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

@media (max-width: 640px) {
    .site-container {
        width: min(100% - 1.25rem, 1280px);
    }

    .brand-lockup {
        align-items: flex-start;
    }

    .brand-mark {
        width: 58px;
        height: 58px;
    }

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

    .panel-title {
        font-size: clamp(1.55rem, 10vw, 2.4rem);
    }
}
