@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --gold: #C9A84C;
    --gold-light: #E8D48B;
    --gold-dark: #A07C2A;
    --black: #0A0A0A;
    --black-light: #111111;
    --black-card: #161616;
    --black-border: #1E1E1E;
    --white: #F5F5F0;
    --white-muted: #999999;
    --white-dim: #666666;
    --green: #4CAF7D;
    --red: #C75450;
    --blue: #4A90D9;
    --violet: #9B7ED9;
    --teal: #4DB6AC;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}
nav.scrolled { border-bottom-color: var(--black-border); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 18px 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--white);
}
.nav-logo img { height: 34px; width: 34px; border-radius: 4px; }
.nav-logo span {
    font-family: 'Playfair Display', serif; font-size: 19px;
    letter-spacing: 4px; font-weight: 500;
}
.nav-links { display: flex; gap: 34px; }
.nav-links a {
    color: var(--white-muted); text-decoration: none; font-size: 13px;
    letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400;
    transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ── Sections ── */
section { padding: 90px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-label {
    color: var(--gold); font-size: 12px; letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 14px; font-weight: 500;
}
.section-title {
    font-family: 'Playfair Display', serif; font-size: 40px;
    font-weight: 500; line-height: 1.2; margin-bottom: 8px;
}
.divider { width: 60px; height: 2px; background: var(--gold); margin: 24px 0; }
.section-desc { color: var(--white-muted); max-width: 720px; font-size: 15.5px; }

/* ── Page hero (subpages) ── */
.page-hero { padding: 170px 0 60px; background: var(--black-light); border-bottom: 1px solid var(--black-border); }

/* ── Cards / grids ── */
.card {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: 10px; padding: 30px;
    transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-3px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ── Metrics ── */
.metric-value {
    font-family: 'Playfair Display', serif; font-size: 34px;
    color: var(--gold); font-weight: 500; line-height: 1.1;
}
.metric-label {
    color: var(--white-dim); font-size: 11.5px; letter-spacing: 2px;
    text-transform: uppercase; margin-top: 8px;
}

/* ── Tables ── */
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
    text-align: right; color: var(--white-dim); font-weight: 500;
    font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 12px 14px; border-bottom: 1px solid var(--black-border);
}
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table td {
    text-align: right; padding: 12px 14px;
    border-bottom: 1px solid rgba(30,30,30,0.6); color: var(--white-muted);
}
.data-table tr:hover td { background: rgba(201,168,76,0.03); }
.data-table .hl td { color: var(--white); font-weight: 400; }
.pos { color: var(--green) !important; }
.neg { color: var(--red) !important; }
.gold-txt { color: var(--gold) !important; }

/* ── Chart containers ── */
.chart-box {
    background: var(--black-card); border: 1px solid var(--black-border);
    border-radius: 10px; padding: 26px; margin-top: 36px;
}
.chart-box h3 { font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.chart-box .sub { color: var(--white-dim); font-size: 12.5px; margin-bottom: 18px; }
.chart-legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; margin: 10px 0 16px; }
.chart-wrap { position: relative; height: 420px; }
.chart-wrap.short { height: 300px; }

/* ── Buttons / pills ── */
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.pill {
    background: transparent; border: 1px solid var(--black-border);
    color: var(--white-muted); border-radius: 100px; padding: 7px 18px;
    font-size: 12.5px; letter-spacing: 1px; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all .25s;
}
.pill.active, .pill:hover { border-color: var(--gold); color: var(--gold); }

.cta {
    display: inline-block; background: var(--gold); color: var(--black);
    padding: 14px 36px; text-decoration: none; font-size: 13px;
    letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
    border-radius: 3px; transition: background .25s;
}
.cta:hover { background: var(--gold-light); }

/* ── Badges ── */
.badge {
    display: inline-block; font-size: 10.5px; letter-spacing: 2px;
    text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
    border: 1px solid var(--black-border); color: var(--white-dim);
}
.badge.gold { border-color: rgba(201,168,76,0.4); color: var(--gold); }

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Disclaimer / footer ── */
.disclaimer { background: var(--black-light); border-top: 1px solid var(--black-border); }
.disclaimer-inner {
    max-width: 1200px; margin: 0 auto; padding: 46px 32px;
    color: var(--white-dim); font-size: 12.5px; line-height: 1.8;
}
footer { border-top: 1px solid var(--black-border); }
.footer-inner {
    max-width: 1200px; margin: 0 auto; padding: 34px 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 28px; width: 28px; border-radius: 3px; }
.footer-brand span {
    font-family: 'Playfair Display', serif; letter-spacing: 3px; font-size: 15px;
}
footer p { color: var(--white-dim); font-size: 12.5px; }

@media (max-width: 1000px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .grid-4 { grid-template-columns: 1fr; }
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 11px; }
    .section-title { font-size: 30px; }
    .chart-wrap { height: 300px; }
}
