:root {
    --ink: #1c2530; /* primary text — warm near-navy */
    --slate: #6d88a6; /* the NEIGHBORS wordmark blue */
    --slate-deep: #34506e; /* same hue, deeper — links & actions */
    --gold: #d8a93a; /* muted nod to the magazine yellow */
    --paper: #fbfaf7; /* barely-warm background */
    --rule: #e7e3da; /* warm hairline */

    --font-display: "Hanken Grotesk", system-ui, sans-serif;
    --font-body: "Hanken Grotesk", system-ui, sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--paper);
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.015em; /* tighter tracking gives sans headings a "designed" snap */
    color: var(--ink);
}

/* Content links — brand blue, not Bootstrap blue */
main a {
    color: var(--slate-deep);
    text-underline-offset: 0.15em;
    text-decoration-color: var(--slate);
}

    main a:hover {
        color: var(--ink);
    }

/* Header */
.navbar {
    background-color: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

    .navbar .nav-link {
        color: var(--ink);
        font-weight: 500;
        padding-left: 1rem;
        padding-right: 1rem;
        border-bottom: 2px solid transparent; /* reserve space so :active doesn't nudge layout */
        transition: color 120ms ease;
    }

        .navbar .nav-link:hover {
            color: var(--slate-deep);
        }

        .navbar .nav-link.active {
            color: var(--ink);
            border-bottom-color: var(--gold);
        }

/* Footer */
.footer {
    border-top: 1px solid var(--rule);
    color: var(--slate-deep);
    font-size: 0.9rem;
}

    .footer a {
        color: var(--slate-deep);
    }

/* ------------------------------------------------------------------
   Shared content-page scaffolding (WhoWeAre, Area, Stats, Contact).
   Keeps prose readable and consistent; all values come from tokens.
   ------------------------------------------------------------------ */
.myn-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

    .myn-page h1 {
        font-family: var(--font-display);
        font-weight: 700;
        letter-spacing: -0.015em;
        margin-bottom: 1.25rem;
    }

    .myn-page p {
        line-height: 1.7;
    }

/* Emphasized opening line for a content page */
.myn-lead {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-deep);
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

/* Secondary heading / byline under a title or image */
.myn-subhead {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 1rem;
}

/* Muted parenthetical / footnote text */
.myn-note {
    color: var(--slate);
    font-style: italic;
}

/* Responsive content image (photo, map) */
.myn-figure {
    margin: 0 0 1.75rem;
}

    .myn-figure img {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
    }

/* Callout box — slate accent (gold stays reserved as the signature thread) */
.myn-callout {
    border-left: 3px solid var(--slate-deep);
    background-color: rgba(109, 136, 166, 0.08);
    padding: 1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    margin: 1.5rem 0;
}

/* Comma/dot list of places, set apart from prose */
.myn-places {
    font-weight: 600;
    color: var(--slate-deep);
    line-height: 1.9;
}

/* Stats / benefit bullet list */
.myn-bullets {
    padding-left: 1.1rem;
    margin: 1.25rem 0;
}

    .myn-bullets li {
        line-height: 1.7;
        margin-bottom: 0.85rem;
        padding-left: 0.35rem;
    }

/* Contact detail rows */
.myn-contact-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

    .myn-contact-list li {
        margin-bottom: 0.85rem;
    }

    .myn-contact-list .myn-contact-label {
        display: block;
        font-weight: 600;
        color: var(--slate);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .myn-contact-list a {
        font-size: 1.2rem;
        font-weight: 600;
        text-decoration: none;
    }

/* ------------------------------------------------------------------
   Buttons — shared component (used by the home page and the forms).
   Primary = slate-deep fill; ghost = slate outline.
   ------------------------------------------------------------------ */
.myn-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 0.7rem 1.25rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.myn-btn--primary {
    background-color: var(--slate-deep);
    color: #fff;
    border: 1px solid var(--slate-deep);
}

    .myn-btn--primary:hover {
        background-color: var(--ink);
        border-color: var(--ink);
        color: #fff;
    }

.myn-btn--ghost {
    background-color: transparent;
    color: var(--slate-deep);
    border: 1px solid var(--slate);
}

    .myn-btn--ghost:hover {
        background-color: var(--slate-deep);
        border-color: var(--slate-deep);
        color: #fff;
    }

/* ------------------------------------------------------------------
   Forms (Reserve, MailCopy)
   ------------------------------------------------------------------ */
.myn-form-page {
    max-width: 620px;
}

.myn-field {
    margin-bottom: 1.25rem;
    border: 0;
    padding: 0;
    min-width: 0; /* let fieldset shrink inside flex rows */
}

.myn-label,
legend.myn-label {
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
}

.myn-input {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    font: inherit;
    color: var(--ink);
    background-color: #fff;
    border: 1px solid var(--rule);
    border-radius: 5px;
}

    .myn-input:focus {
        outline: 2px solid var(--slate-deep);
        outline-offset: 1px;
        border-color: var(--slate-deep);
    }

.myn-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

    .myn-field-row > .myn-field {
        flex: 1 1 12rem;
    }

.myn-field--grow { flex: 3 1 12rem; }
.myn-field--state { flex: 1 1 5rem; }
.myn-field--zip { flex: 1 1 7rem; }

/* Radio / checkbox option rows */
.myn-choice {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.3rem 0;
    font-weight: 400;
    cursor: pointer;
}

    .myn-choice input {
        flex: none;
    }

.myn-error {
    display: block;
    color: #b3261e;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.myn-validation-summary:not(:empty) {
    border-left: 3px solid #b3261e;
    background-color: rgba(179, 38, 30, 0.06);
    padding: 0.75rem 1rem;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.5rem;
}

    .myn-validation-summary ul {
        margin: 0;
        padding-left: 1.1rem;
    }

/* Success state reuses the callout, tinted with the gold accent thread */
.myn-callout--success {
    border-left-color: var(--gold);
    background-color: rgba(216, 169, 58, 0.08);
}

/* Honeypot — kept in the DOM for bots, removed from view and a11y tree */
.myn-hp {
    position: absolute;
    left: -5000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Quality floor */
a:focus-visible,
.nav-link:focus-visible {
    outline: 2px solid var(--slate-deep);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
