@font-face {
    font-family: 'Ethnocentric';
    src: url('../fonts/ethnocentric.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg: #000000;
    --panel: #0d0d0d;
    --panel-2: #141414;
    --panel-3: #101310;
    --border: #2a2a2a;
    --text: #d8d8d8;
    --muted: #9ea3a0;
    --brand: #75f64c;
    --brand-dark: #4ec92c;
    --brand-glow: rgba(117, 246, 76, 0.25);
    --success: #94ff74;
    --error: #ff7d7d;
    --warning: #ffd166;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top center, rgba(117, 246, 76, 0.08), transparent 30%),
        linear-gradient(180deg, #050505 0%, #000000 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background: rgba(117, 246, 76, 0.07);
    border: 1px solid rgba(117, 246, 76, 0.18);
    border-radius: 8px;
    padding: 2px 6px;
}

/* ====================== HEADERS - ETHNOCENTRIC ====================== */
h1, h2, h3,
.section_kicker,
.panel_kicker,
.card_badge,
.timeline_date,
.brand span,
.footer_brand,
.top_nav a,
.button,
button,
label,
#progress_label {
    font-family: 'Ethnocentric', Arial, sans-serif;
    letter-spacing: 1.5px;
}

/* Stronger header styling */
h1 {
    font-size: 1.85rem;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--brand);
}

h2 {
    font-size: 1.45rem;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--brand);
}

h3 {
    font-size: 1rem;
    color: var(--brand);
    line-height: 1.35;
}

/* ====================== CONTAINERS ====================== */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top banner */
#top_banner {
    width: 100%;
    background: linear-gradient(90deg, #020402 0%, #0a1408 50%, #020402 100%);
    border-bottom: 1px solid #1f3d1f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

#top_banner_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand span {
    color: var(--brand);
    font-size: 1.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow:
        0 0 6px rgba(117, 246, 76, 0.4),
        0 0 18px rgba(117, 246, 76, 0.15);
}

.top_nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.top_nav a {
    color: var(--muted);
    font-size: 0.68rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 10px;
}

.top_nav a:hover {
    color: var(--brand);
    border-color: rgba(117, 246, 76, 0.28);
    background: rgba(117, 246, 76, 0.06);
}

/* Main content */
main#top {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 20px;
}

.hero,
.section {
    padding: 0;
    margin-bottom: 28px;
}

.hero_grid,
.card_grid.three,
.timeline_item,
.footer_grid {
    display: grid;
    gap: 20px;
}

.hero_grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.hero > .container > div:first-child,
.hero_panel,
.content_panel,
.project_card,
.policy_box,
.timeline_item,
.tool_panel {
    background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.96));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px;
}

.eyebrow,
.section_kicker,
.panel_kicker {
    color: var(--brand);
    text-transform: uppercase;
    font-size: 0.78rem;
    margin: 0 0 8px;
}

/* HERO WARNING TEXT - BOLD + WHITE */
.hero_panel p:first-of-type,
.policy_box p:first-of-type {
    font-weight: bold !important;
    color: #ffffff !important;
    line-height: 1.6;
}

/* Other text */
.hero_copy,
.content_panel p,
.project_card p,
.timeline_body p,
.site_footer p,
#workflow_panel p {
    color: var(--muted);
    line-height: 1.7;
}

.hero_actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.button,
button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #82ff57 0%, #63dc3d 100%);
    color: #081108;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(117, 246, 76, 0.22);
    transition: all 0.2s ease;
}

.button:hover,
button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 0 24px rgba(117, 246, 76, 0.35);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cards & Timeline */
.card_grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project_card {
    padding: 24px;
}

.project_card.compact {
    min-height: 200px;
}

.card_badge {
    display: inline-block;
    color: #081108;
    background: var(--brand);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.66rem;
    margin-bottom: 16px;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline_item {
    grid-template-columns: 230px 1fr;
    padding: 20px;
}

.timeline_date {
    color: var(--brand);
    line-height: 1.5;
}

/* Footer */
.site_footer {
    max-width: 1000px;
    margin: 0 auto 36px;
    padding: 0 20px;
}

.site_footer .container {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(20,20,20,0.96), rgba(10,10,10,0.96));
    box-shadow: var(--shadow);
}

.footer_grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer_brand {
    color: var(--brand);
}

.footer_links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer_links a {
    color: var(--muted);
}

.footer_links a:hover {
    color: var(--brand);
}

/* Responsive */
@media (max-width: 980px) {
    .hero_grid,
    .card_grid.three,
    .timeline_item {
        grid-template-columns: 1fr;
    }
    #top_banner_inner,
    .footer_grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    #top_banner_inner {
        padding: 16px;
    }
    main#top,
    .site_footer {
        margin-top: 20px;
        padding: 0 14px;
    }
    .hero > .container > div:first-child,
    .hero_panel,
    .section_head,
    .content_panel,
    .policy_box,
    .project_card {
        padding: 20px;
    }
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.2rem; }
    .action_row,
    .hero_actions {
        flex-direction: column;
    }
    button,
    .button {
        width: 100%;
    }
}