/* ── HERMES MEDIA GROUP — SHARED DESIGN SYSTEM ── */

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

:root {
    --ink: #0a0a0a;
    --paper: #f8f6f1;
    --accent: #c45d3e;
    --accent-light: #e8a48e;
    --accent-dark: #a34d32;
    --muted: #6b6560;
    --border: #d9d4cd;
    --surface: #efeae3;
    --success: #3a7d44;
    --error: #c44040;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(248, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); }

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-decoration: none;
}
.logo span { color: var(--accent); }

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

.nav-links a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.nav-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--paper) !important;
    background: var(--ink);
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent); }
.nav-cta::after { display: none !important; }

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
    transition: 0.3s;
}

/* ── SECTION HELPERS ── */
.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-hero {
    padding: 10rem 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    max-width: 800px;
    margin-bottom: 1.5rem;
}
.page-hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.page-hero .lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    line-height: 1.8;
}

/* ── FOOTER ── */
footer {
    padding: 4rem 2rem 3rem;
    border-top: 1px solid var(--border);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--paper);
    background: var(--ink);
    padding: 1rem 2.5rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent); }

.btn-outline {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    padding: 1rem 2.5rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    border: 1.5px solid var(--ink);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--paper);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
    .nav-links.open { display: flex; }

    .nav-toggle { display: block; }

    .page-hero { padding: 7rem 1.5rem 3rem; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
