:root {
    --eag-bg: #faf7f0;
    --eag-surface: #ffffff;
    --eag-text: #24211c;
    --eag-text-soft: #524d43;
    --eag-text-muted: #86806f;
    --eag-border: rgba(36,33,28,0.12);
    --eag-accent: #a5672b;
    --eag-accent-soft: rgba(165,103,43,0.1);
    --eag-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --eag-display: 'Bricolage Grotesque', 'Segoe UI', Tahoma, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --eag-bg: #16140f;
        --eag-surface: #1c1a14;
        --eag-text: #ece7db;
        --eag-text-soft: #c3bcac;
        --eag-text-muted: #8b8474;
        --eag-border: rgba(236,231,219,0.12);
        --eag-accent: #d9a15c;
        --eag-accent-soft: rgba(217,161,92,0.12);
    }
}

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

.eag-body {
    margin: 0;
    background: var(--eag-bg);
    color: var(--eag-text);
    font-family: var(--eag-serif);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.eag-nav {
    border-bottom: 1px solid var(--eag-border);
    background: var(--eag-surface);
    position: sticky;
    top: 0;
    z-index: 20;
}

.eag-nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--eag-display);
}

.eag-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--eag-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.eag-logo img { height: 26px; width: auto; }

.eag-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.eag-nav-links a {
    font-size: 0.82rem;
    color: var(--eag-text-soft);
    text-decoration: none;
}

.eag-nav-links a:hover { color: var(--eag-accent); }

.eag-main {
    flex: 1;
}

.eag-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 20px 80px;
}

.eag-kicker {
    font-family: var(--eag-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--eag-accent);
    margin-bottom: 14px;
}

.eag-title {
    font-family: var(--eag-display);
    font-size: clamp(1.9rem, 4.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--eag-text);
    margin: 0 0 18px;
}

.eag-byline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--eag-display);
    font-size: 0.78rem;
    color: var(--eag-text-muted);
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--eag-border);
}

.eag-byline-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.eag-prose {
    font-size: 1.08rem;
    color: var(--eag-text-soft);
}

.eag-prose h2 {
    font-family: var(--eag-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--eag-text);
    margin: 44px 0 16px;
}

.eag-prose h2:first-child { margin-top: 0; }

.eag-prose p { margin: 0 0 20px; }
.eag-prose p:last-child { margin-bottom: 0; }

.eag-fig {
    margin: 0 0 24px;
    max-width: 320px;
}

.eag-fig img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--eag-border);
}

.eag-fig figcaption {
    font-family: var(--eag-display);
    font-size: 0.72rem;
    color: var(--eag-text-muted);
    margin-top: 8px;
    line-height: 1.5;
}

.fig-left {
    float: left;
    margin-right: 28px;
}

.fig-right {
    float: right;
    margin-left: 28px;
}

@media (max-width: 640px) {
    .fig-left, .fig-right {
        float: none;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

.eag-faq {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--eag-border);
}

.eag-faq-title {
    font-family: var(--eag-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--eag-text);
    margin: 0 0 24px;
}

.eag-faq-item {
    margin-bottom: 22px;
}

.eag-faq-item:last-child { margin-bottom: 0; }

.eag-faq-q {
    font-family: var(--eag-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--eag-text);
    margin: 0 0 8px;
}

.eag-faq-a {
    font-size: 1rem;
    color: var(--eag-text-soft);
    margin: 0;
}

.eag-footer {
    border-top: 1px solid var(--eag-border);
    background: var(--eag-surface);
    padding: 28px 24px;
    text-align: center;
    font-family: var(--eag-display);
    font-size: 0.75rem;
    color: var(--eag-text-muted);
}
