/* Shared base styles for every page: tokens, reset, buttons,
   the fixed backdrop, the shared nav and footer, and the section header. */

:root {
    --bg: #0b0a08;
    --surface: #17140e;
    --surface-raised: #211b12;
    --border: #3a2f1c;
    --text: #f4ecdd;
    --text-muted: #b3a88f;
    --gold-deep: #9a7b1f;
    --gold: #d9b44a;
    --gold-bright: #f2cf63;
    --brand-gradient: linear-gradient(135deg, #f2cf63 0%, #c9962f 100%);
    --ink: #1c1509;
    --serif: Georgia, "Times New Roman", "Playfair Display", serif;
    --max-width: 1080px;
    --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg);
    /* Dave presides over the whole site: a faint, fixed backdrop. The heavy dark
       wash on top keeps the image light and the text readable over it. */
    background-image:
        linear-gradient(rgba(11, 10, 8, 0.90), rgba(11, 10, 8, 0.93)),
        url("/assets/images/hero.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--gold); text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0; font-family: var(--serif); }

.button {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover { transform: translateY(-2px); }

.button--primary {
    background: var(--brand-gradient);
    color: var(--ink);
    box-shadow: 0 10px 30px rgba(217, 180, 74, 0.28);
}

.button--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.button--ghost:hover { border-color: var(--gold); }

.site-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 22px 24px;
    width: 100%;
}

.site-nav__brand { display: flex; align-items: center; gap: 12px; }

.site-nav__seal {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid var(--gold);
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 0 18px rgba(217, 180, 74, 0.25);
}

.site-nav__wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.site-nav__wordmark-top {
    font-family: var(--serif);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.site-nav__wordmark-main {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav__links { display: flex; align-items: center; gap: 26px; }

.site-nav__links a { color: var(--text); font-weight: 600; }

.site-nav__links a:hover { color: var(--gold); }

.site-nav__links a.is-active { color: var(--gold); }

.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.site-nav__toggle span {
    display: block;
    height: 2px;
    width: 20px;
    margin: 0 auto;
    background: var(--text);
}

.section-head { max-width: var(--max-width); margin: 0 auto 36px; padding: 0 24px; text-align: center; }

.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }

.section-head p { color: var(--text-muted); font-size: 1.1rem; margin: 12px 0 0; }

.page-section { padding: 70px 0; }

.site-footer { border-top: 1px solid var(--border); padding: 40px 24px; }

.site-footer__inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }

.site-footer__brand {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-footer__tag { color: var(--text-muted); margin: 12px 0; font-style: italic; }

.site-footer__links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }

.site-footer__links a { color: var(--text); }

.site-footer__copy { color: var(--text-muted); font-size: 0.85rem; margin: 8px 0 0; }

@media (max-width: 760px) {
    .site-nav__toggle { display: flex; }

    .site-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        right: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        background: var(--surface-raised);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 20px 24px;
        z-index: 20;
    }

    .site-nav__links.is-open { display: flex; }
}
