@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
    --white:   #FAFAF8;
    --bone:    #F2EFE9;
    --rule:    #E0DBD3;
    --ink:     #1C1B19;
    --stone:   #6E6860;
    --signal:  #C0392B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ── NAV ─────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 5%;
    background: rgba(250,250,248,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
}

.nav-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
}

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

.nav-links a {
    font-size: 0.8rem;
    color: var(--stone);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

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

.nav-cta {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
    border: 1px solid var(--rule);
    padding: 0.55rem 1.25rem;
    transition: border-color 0.2s !important;
}

.nav-cta:hover { border-color: var(--ink) !important; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: var(--ink);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.75rem;
    color: var(--stone);
    text-decoration: none;
}

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

.footer-legal {
    font-size: 0.68rem;
    color: var(--stone);
    line-height: 1.7;
    text-align: right;
}

/* ── SHARED UTILS ────────────────────────────────── */
.kicker {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--stone);
    margin-bottom: 1.5rem;
    display: block;
}

.btn-dark {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--ink);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 1px solid var(--ink);
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-dark:hover { opacity: 0.85; }

.btn-ghost {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: transparent;
    color: var(--stone);
    padding: 1rem 2rem;
    text-decoration: none;
    border: 1px solid var(--rule);
    transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

input[type="text"], input[type="email"] {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    background: var(--white);
    border: 1px solid var(--rule);
    color: var(--ink);
    padding: 1rem 1.25rem;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
}

input[type="text"]:focus, input[type="email"]:focus { border-color: var(--ink); }
input::placeholder { color: var(--stone); }

@media (max-width: 860px) {
    footer { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-links { justify-content: flex-start; }
    .footer-legal { text-align: left; }
    .nav-links { display: none; }
}
