/* DealeyTruth — Shared Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bone: #F5F0E8;
    --ink: #1A1A1A;
    --red: #8B1A1A;
    --red-light: #A52A2A;
    --gold: #C4A35A;
    --gold-dim: rgba(196,163,90,0.15);
    --gray: #6B6B6B;
    --gray-light: #9A9A9A;
}

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--ink);
    color: var(--bone);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── NAVIGATION ─── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    background: rgba(13,13,13,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245,240,232,0.06);
    transition: background 0.3s;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bone);
    text-decoration: none;
    letter-spacing: 0.04em;
}

.nav-logo span {
    color: var(--red-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-light);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--bone);
}

.nav-links .nav-donate {
    background: var(--red);
    color: var(--bone);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-links .nav-donate:hover {
    background: var(--red-light);
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--bone);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(13,13,13,0.97);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(245,240,232,0.06);
    }
    .nav-links.open { display: flex; }
}

/* ─── SHARED COMPONENTS ─── */
.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    opacity: 0.3;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-primary {
    display: inline-block;
    background: var(--red);
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border: 1px solid rgba(245,240,232,0.2);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    letter-spacing: 0.02em;
}

.btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(196,163,90,0.05);
}

/* ─── PAGE HEADER ─── */
.page-header {
    padding: 140px 24px 80px;
    background: linear-gradient(180deg, #0D0D0D 0%, #1A1A1A 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(139,26,26,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 60%, rgba(196,163,90,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
}

.page-header h1 em {
    font-style: italic;
    color: var(--red-light);
}

.page-header .subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
    color: var(--gray-light);
    max-width: 640px;
}

/* ─── FOOTER ─── */
.site-footer {
    padding: 48px 24px;
    background: #0D0D0D;
    text-align: center;
    border-top: 1px solid rgba(245,240,232,0.06);
}

.site-footer p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.site-footer a {
    color: var(--gold);
    text-decoration: none;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--gray-light);
    text-decoration: none;
    margin: 0 16px;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--bone);
}

/* ─── NEWSLETTER ─── */
.newsletter-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, #111 0%, #0D0D0D 100%);
    text-align: center;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 700px 500px at 50% 50%, rgba(196,163,90,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
}

.newsletter-section p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gray-light);
    margin-bottom: 36px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto 12px;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
    flex: 1;
    padding: 13px 18px;
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.15);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus {
    border-color: rgba(196,163,90,0.4);
    background: rgba(245,240,232,0.09);
}

.newsletter-form input::placeholder {
    color: var(--gray);
}

.newsletter-form button {
    padding: 13px 24px;
    background: var(--red);
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--red);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    letter-spacing: 0.02em;
}

.newsletter-form button:hover {
    background: var(--red-light);
    border-color: var(--red-light);
}

.newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.newsletter-name-row {
    max-width: 480px;
    margin: 0 auto 12px;
}

.newsletter-name-row input {
    width: 100%;
    padding: 11px 18px;
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.15);
    border-radius: 4px;
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.newsletter-name-row input:focus {
    border-color: rgba(196,163,90,0.4);
    background: rgba(245,240,232,0.09);
}

.newsletter-name-row input::placeholder {
    color: var(--gray);
}

.newsletter-msg {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    min-height: 20px;
    transition: color 0.2s;
}

.newsletter-msg.success { color: #7ab87a; }
.newsletter-msg.error   { color: #e07070; }

/* Footer newsletter mini-form */
.footer-newsletter {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(245,240,232,0.06);
}

.footer-newsletter p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--gray-light);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
    max-width: 340px;
    margin: 0 auto;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(245,240,232,0.06);
    border: 1px solid rgba(245,240,232,0.12);
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    outline: none;
    transition: border-color 0.2s;
}

.footer-newsletter-form input:focus {
    border-color: rgba(196,163,90,0.35);
}

.footer-newsletter-form input::placeholder {
    color: var(--gray);
}

.footer-newsletter-form button {
    padding: 10px 16px;
    background: var(--red);
    color: var(--bone);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--red);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.2s;
    white-space: nowrap;
}

.footer-newsletter-form button:hover {
    background: var(--red-light);
}

.footer-newsletter-msg {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    margin-top: 8px;
    min-height: 16px;
}

.footer-newsletter-msg.success { color: #7ab87a; }
.footer-newsletter-msg.error   { color: #e07070; }

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input[type="email"] {
        border-right: 1px solid rgba(245,240,232,0.15);
        border-bottom: none;
        border-radius: 4px 4px 0 0;
    }
    .newsletter-form button {
        border-radius: 0 0 4px 4px;
    }
}

/* ─── EXPLORE MORE (INTERNAL CROSS-LINKS) ─── */
.explore-more {
    padding: 80px 24px;
    background: #111;
    border-top: 1px solid rgba(245,240,232,0.06);
}

.explore-more-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.explore-more h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--bone);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.explore-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.explore-card {
    display: block;
    background: rgba(245,240,232,0.03);
    border: 1px solid rgba(245,240,232,0.08);
    border-radius: 8px;
    padding: 24px 28px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.explore-card:hover {
    border-color: rgba(196,163,90,0.35);
    background: rgba(245,240,232,0.05);
    transform: translateY(-2px);
}

.explore-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bone);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.explore-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--gray-light);
}

.explore-card-arrow {
    display: inline-block;
    margin-top: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.04em;
}

.explore-hub-link {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.04em;
    padding: 10px 0;
    border-bottom: 1px solid rgba(196,163,90,0.25);
    transition: color 0.2s, border-color 0.2s;
}

.explore-hub-link:hover {
    color: var(--bone);
    border-color: rgba(245,240,232,0.4);
}

@media (max-width: 600px) {
    .explore-more-grid {
        grid-template-columns: 1fr;
    }
}
