/* ----- Tokens ----- */
:root {
    /* Lancers palette, carried forward from 2018 campaign brand */
    --navy: #413965;
    --navy-deep: #2c2647;
    --navy-soft: #5a4f80;
    --red: #93251E;
    --red-deep: #6e1a16;
    --cream: #f7f1e3;
    --paper: #fbf7ec;
    --ink: #11171f;
    --ink-soft: #3a4452;
    --line: rgba(65, 57, 101, 0.12);
    --gold: #c89b3c;
    --shadow-sm: 0 1px 2px rgba(6, 26, 48, 0.08);
    --shadow-md: 0 8px 24px rgba(6, 26, 48, 0.12);
    --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
    --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem;
    --space-7: 3rem; --space-8: 4.5rem; --space-9: 6rem;
    --radius: 4px; --radius-lg: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink); background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-5); }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--cream); border-bottom: 3px solid var(--red); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-top: var(--space-3); padding-bottom: var(--space-3); }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--cream); font-weight: 700; letter-spacing: 0.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); background: var(--red); color: var(--cream); font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; }
.brand-text { font-size: 1.05rem; }
.topbar-nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-link { text-decoration: none; color: var(--cream); opacity: 0.85; font-weight: 500; font-size: 0.95rem; }
.nav-link:hover { opacity: 1; }
.nav-cta { text-decoration: none; background: var(--cream); color: var(--navy); padding: 0.55rem 1rem; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em; transition: transform 0.15s ease, background 0.15s ease; }
.nav-cta:hover { background: #fff; transform: translateY(-1px); }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% -10%, rgba(184,150,72,0.18), transparent 60%), linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: var(--cream); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 8px); pointer-events: none; }
.hero-inner { position: relative; padding: var(--space-9) var(--space-5); display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: center; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-7); } }
.hero-copy { min-width: 0; }
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 4px 14px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.08); transform: rotate(-0.8deg); max-width: 360px; justify-self: end; align-self: center; }
.hero-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) { .hero-photo { transform: none; max-width: 360px; margin: 0 auto; justify-self: center; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; font-weight: 700; color: var(--gold); margin: 0 0 var(--space-5); }
.hero-title { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 var(--space-5); }
.hero-communities { display: block; font-family: 'Crimson Pro', Georgia, serif; font-weight: 600; font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: #d8cfb6; margin-bottom: 0.7em; padding-bottom: 0.55em; border-bottom: 1px solid rgba(255,255,255,0.14); white-space: nowrap; letter-spacing: 0; opacity: 0.95; line-height: 1.15; }
@media (max-width: 720px) { .hero-communities { white-space: normal; font-size: clamp(1.2rem, 5vw, 1.6rem); } }
.hero-accent { display: block; font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1.04; color: #fff; border-bottom: 4px solid var(--red); padding-bottom: 6px; max-width: 16ch; letter-spacing: -0.015em; }
.hero-accent em { font-style: italic; color: inherit; }
.hero-fedup { font-family: 'Crimson Pro', Georgia, serif; font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: #f4eedd; margin: 0 0 var(--space-5); max-width: 50ch; }
.hero-vision { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; color: #e8e2d2; margin: 0 0 var(--space-7); max-width: 56ch; }
.hero-vision em { font-style: italic; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; cursor: pointer; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(247,241,227,0.45); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(247,241,227,0.06); }

/* Stand */
.stand { background: var(--paper); padding: var(--space-9) 0; border-bottom: 1px solid var(--line); }
.section-title { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 var(--space-4); color: var(--navy); max-width: 22ch; }
.section-lede { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; margin: 0 0 var(--space-7); }
.pillars { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pillar:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pillar-num { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--red); letter-spacing: 0.05em; margin-bottom: var(--space-2); }
.pillar h3 { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: 1.4rem; margin: 0 0 var(--space-3); color: var(--navy); }
.pillar p { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.pillar strong { color: var(--ink); }

/* About */
.about { background: var(--paper); padding: var(--space-9) 0; border-bottom: 1px solid var(--line); }
.about-inner { max-width: 820px; margin: 0 auto; padding: 0 var(--space-5); text-align: center; }
.eyebrow-dark { color: var(--red); }
.about-blurb { margin: var(--space-3) 0 var(--space-7); } .about-blurb p { font-family: 'Crimson Pro', Georgia, serif; font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; color: var(--navy); margin: 0 0 var(--space-3); } .about-blurb p:last-child { margin-bottom: 0; }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.social-list a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.6rem 1rem; font-weight: 600; font-size: 0.95rem; transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
.social-list a:hover { transform: translateY(-1px); border-color: var(--red); color: var(--red); }
.social-list svg { display: block; }

/* Join */
.join { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--cream); padding: var(--space-9) 0; position: relative; overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 10px); pointer-events: none; }
.join-inner { position: relative; display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 860px) { .join-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.join-copy h2 { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 var(--space-4); color: #fff; }
.join-copy p { color: #e8e2d2; line-height: 1.65; margin: 0; font-size: 1.05rem; }
.join-form { display: grid; gap: var(--space-3); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: var(--space-6); backdrop-filter: blur(2px); }
.join-form input[type="email"], .join-form input[type="text"], .join-form textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); background: rgba(255,255,255,0.95); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.join-form textarea { resize: vertical; min-height: 5rem; font-family: inherit; }
.join-form input:focus, .join-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,155,60,0.35); }
.hp-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-consent { margin: var(--space-2) 0 0; font-size: 0.78rem; line-height: 1.45; color: rgba(247,241,227,0.7); }
.btn-submit { margin-top: var(--space-3); width: 100%; }
.form-status { min-height: 1.4em; margin: 0; font-size: 0.95rem; color: #e8e2d2; }
.form-status.success { color: #b8e6b8; font-weight: 600; }
.form-status.error { color: #ffb3b3; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(247,241,227,0.7); padding: var(--space-6) 0; border-top: 3px solid var(--red); }
.footer-inner { display: flex; flex-direction: column; gap: var(--space-3); text-align: center; align-items: center; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; } }
.footer-name { margin: 0; color: var(--cream); font-weight: 600; }
.footer-fine { margin: 0; font-size: 0.82rem; opacity: 0.75; }
.footer-social { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--space-3); justify-content: center; }
.footer-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; color: var(--cream); opacity: 0.7; border-radius: var(--radius); transition: opacity 0.15s ease, background 0.15s ease; }
.footer-social a:hover { opacity: 1; background: rgba(255,255,255,0.08); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ----- Article pages ----- */
.article-body { background: var(--paper); }
.article { padding: var(--space-9) 0; min-height: 60vh; }
.article-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--space-5); }
.article-title { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--navy); margin: var(--space-2) 0 var(--space-4); letter-spacing: -0.01em; }
.article-summary { font-family: 'Crimson Pro', Georgia, serif; font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); margin: 0 0 var(--space-7); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.article-body-prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.article-body-prose h2 { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: var(--navy); margin: var(--space-7) 0 var(--space-3); letter-spacing: -0.005em; }
.article-body-prose h3 { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.4rem); color: var(--navy); margin: var(--space-6) 0 var(--space-3); }
.article-body-prose h4 { font-weight: 700; font-size: 1.05rem; color: var(--navy); margin: var(--space-5) 0 var(--space-2); }
.article-body-prose p { margin: 0 0 var(--space-4); }
.article-body-prose a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body-prose a:hover { color: var(--red-deep); }
.article-body-prose strong { color: var(--ink); font-weight: 700; }
.article-body-prose em { font-style: italic; }
.article-body-prose blockquote { margin: var(--space-5) 0; padding: var(--space-3) var(--space-5); border-left: 4px solid var(--red); background: rgba(147,37,30,0.05); font-style: italic; color: var(--ink-soft); }
.article-body-prose blockquote p:last-child { margin: 0; }
.article-body-prose ul, .article-body-prose ol { margin: 0 0 var(--space-4); padding-left: 1.5em; }
.article-body-prose li { margin-bottom: var(--space-2); }
.article-body-prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: var(--space-5) auto; display: block; }
.article-body-prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-7) 0; }
.article-body-prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.92em; background: rgba(65,57,101,0.08); padding: 0.1em 0.35em; border-radius: 3px; }
.article-body-prose pre { background: var(--navy-deep); color: var(--cream); padding: var(--space-4); border-radius: var(--radius-lg); overflow-x: auto; font-size: 0.9rem; }
.article-body-prose pre code { background: transparent; padding: 0; color: inherit; }
.article-body-prose table { width: 100%; border-collapse: collapse; margin: var(--space-5) 0; font-size: 0.95rem; }
.article-body-prose th, .article-body-prose td { padding: 0.6em 0.8em; border-bottom: 1px solid var(--line); text-align: left; }
.article-body-prose th { background: rgba(65,57,101,0.04); font-weight: 700; color: var(--navy); }
.article-footer { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; padding-top: var(--space-7); margin-top: var(--space-7); border-top: 1px solid var(--line); }
.btn-ghost-dark { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--navy); background: rgba(65,57,101,0.05); }

/* Articles index */
.article-list { list-style: none; padding: 0; margin: var(--space-7) 0 0; display: grid; gap: var(--space-5); }
.article-list-item a { display: block; padding: var(--space-5) var(--space-6); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-lg); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.article-list-item a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-list-date { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); margin: 0 0 var(--space-2); }
.article-list-title { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; color: var(--navy); margin: 0 0 var(--space-2); }
.article-list-summary { color: var(--ink-soft); margin: 0 0 var(--space-3); line-height: 1.55; }
.article-list-link { color: var(--red); font-weight: 600; font-size: 0.95rem; }
.article-list-empty { padding: var(--space-7); text-align: center; color: var(--ink-soft); font-style: italic; }

/* Recent / Meat and Potatoes (homepage teaser) */
.recent { background: #fff; padding: var(--space-9) 0; border-bottom: 1px solid var(--line); }
.recent-list { list-style: none; padding: 0; margin: var(--space-7) 0 var(--space-6); display: grid; gap: var(--space-5); }
.recent-item a { display: block; padding: var(--space-5) var(--space-6); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-lg); text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.recent-item a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.recent-date { font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--red); margin: 0 0 var(--space-2); }
.recent-title { font-family: 'Crimson Pro', Georgia, serif; font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; color: var(--navy); margin: 0 0 var(--space-2); }
.recent-blurb { color: var(--ink-soft); margin: 0 0 var(--space-3); line-height: 1.6; }
.recent-link { color: var(--red); font-weight: 600; font-size: 0.95rem; }
.recent-empty { padding: var(--space-6); text-align: center; color: var(--ink-soft); font-style: italic; border: 1px dashed var(--line); border-radius: var(--radius-lg); list-style: none; }
.recent-all { margin: var(--space-5) 0 0; }
.recent-all-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; transition: color 0.15s ease; }
.recent-all-link:hover { color: var(--red); }

/* Mobile polish — prevent horizontal overflow + tighten topbar + tighten article title */
html, body { overflow-x: hidden; }

@media (max-width: 720px) {
    /* Topbar: pack everything onto one tight row */
    .topbar-inner { padding-top: var(--space-2); padding-bottom: var(--space-2); min-height: 56px; gap: var(--space-3); }
    .brand { gap: var(--space-2); white-space: nowrap; }
    .brand-mark { width: 32px; height: 32px; font-size: 0.9rem; }
    .brand-text { font-size: 0.95rem; white-space: nowrap; }
    .topbar-nav { gap: var(--space-3); flex-wrap: nowrap; }
    .nav-link { font-size: 0.85rem; white-space: nowrap; }
    .nav-cta { padding: 0.45rem 0.75rem; font-size: 0.8rem; white-space: nowrap; }

    /* Article title: smaller, tighter on phones */
    .article-title { font-size: clamp(1.6rem, 6vw, 2.1rem); line-height: 1.05; letter-spacing: -0.015em; }
    .article-summary { font-size: 1rem; line-height: 1.45; }
}

@media (max-width: 540px) {
    /* On narrow phones, drop the brand wordmark to make room for nav */
    .brand-text { display: none; }
    .topbar-nav { gap: var(--space-2); }
    .nav-link { font-size: 0.82rem; }
    .nav-cta { padding: 0.4rem 0.65rem; font-size: 0.78rem; }
}

@media (max-width: 400px) {
    /* Very narrow phones: tighten further */
    .nav-link { font-size: 0.78rem; }
    .topbar-nav { gap: 0.4rem; }
    .nav-cta { padding: 0.35rem 0.55rem; font-size: 0.74rem; }
    .article-title { font-size: clamp(1.45rem, 6.5vw, 1.9rem); }
}

/* Nav separators (border-left) + responsive CTA */
.nav-link + .nav-link {
    padding-left: var(--space-3);
    border-left: 1px solid rgba(247, 241, 227, 0.25);
}
.nav-cta-short { display: none !important; }
.nav-cta-long { display: inline !important; }
@media (max-width: 540px) {
    .nav-cta-long { display: none !important; }
    .nav-cta-short { display: inline !important; }
    .nav-link + .nav-link {
        padding-left: var(--space-2);
    }
}
@media (max-width: 400px) {
    .nav-link + .nav-link {
        padding-left: 0.4rem;
    }
}

/* Tighten article top padding on mobile */
@media (max-width: 720px) {
    .article { padding: var(--space-5) 0 var(--space-7); }
}
@media (max-width: 540px) {
    .article { padding: var(--space-4) 0 var(--space-6); }
    .eyebrow-dark { margin-bottom: var(--space-2); }
}

/* Topbar tight v3 — reclaim container side padding + allow nav text to wrap */
@media (max-width: 540px) {
    .topbar-inner {
        padding-left: var(--space-3);
        padding-right: var(--space-3);
        gap: var(--space-2);
        align-items: center;
    }
    .brand-mark { width: 30px; height: 30px; font-size: 0.85rem; }
    .topbar-nav { gap: var(--space-2); align-items: center; }
    .nav-link {
        white-space: normal;
        text-align: center;
        line-height: 1.15;
        font-size: 0.78rem;
    }
    .nav-cta {
        padding: 0.4rem 0.6rem;
        font-size: 0.78rem;
        text-align: center;
        line-height: 1.15;
        white-space: normal;
    }
}
@media (max-width: 400px) {
    .topbar-inner { padding-left: var(--space-2); padding-right: var(--space-2); }
    .nav-link { font-size: 0.74rem; }
    .nav-cta { font-size: 0.74rem; padding: 0.35rem 0.5rem; }
}

/* Tighten hero top padding on mobile (matches .article fix) */
@media (max-width: 720px) {
    .hero-inner { padding-top: var(--space-5); padding-bottom: var(--space-7); }
}
@media (max-width: 540px) {
    .hero-inner { padding-top: var(--space-4); padding-bottom: var(--space-6); }
}

/* =========================================================
   Bylaw page
   ========================================================= */

.bylaw-body { background: var(--bg, #faf8f1); color: var(--ink, #1a1a2a); }

.bylaw { padding: var(--space-7) 0 var(--space-8); }
.bylaw-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); max-width: 880px; margin: 0 auto; padding: 0 var(--space-5); }

.bylaw-hero { border-bottom: 1px solid rgba(26,26,42,0.08); padding-bottom: var(--space-6); }
.bylaw-title { font-family: 'Crimson Pro', serif; font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.1; letter-spacing: -0.015em; margin: var(--space-2) 0 var(--space-4); }
.bylaw-lede { font-size: 1.05rem; line-height: 1.55; color: rgba(26,26,42,0.85); margin-bottom: var(--space-5); }
.bylaw-hero-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.bylaw-meta-line { font-size: 0.9rem; color: rgba(26,26,42,0.65); }

.bylaw-toc { background: rgba(65,57,101,0.05); border-left: 3px solid var(--navy, #413965); padding: var(--space-4) var(--space-5); border-radius: 4px; }
.bylaw-toc-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(26,26,42,0.6); margin: 0 0 var(--space-3); }
.bylaw-toc-list { margin: 0; padding-left: 1.25rem; line-height: 1.85; }
.bylaw-toc-list a { color: var(--navy, #413965); text-decoration: none; }
.bylaw-toc-list a:hover { text-decoration: underline; }

.bylaw-text { font-size: 1rem; line-height: 1.7; }
.bylaw-meta p { margin: 0 0 var(--space-3); color: rgba(26,26,42,0.7); font-size: 0.95rem; }
.bylaw-meta h1 { font-family: 'Crimson Pro', serif; font-weight: 700; font-size: clamp(1.25rem, 3.4vw, 1.95rem); line-height: 1.15; letter-spacing: 0.005em; margin: 0 0 var(--space-3); color: var(--navy, #413965); }

.bylaw-section { border-top: 1px solid rgba(26,26,42,0.08); padding-top: var(--space-5); margin-top: var(--space-5); scroll-margin-top: 90px; }
.bylaw-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.bylaw-section-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-3); }
.bylaw-section-title { font-family: 'Crimson Pro', serif; font-size: 1.5rem; margin: 0; letter-spacing: -0.01em; }
.bylaw-section-title a { color: inherit; text-decoration: none; }
.bylaw-section-title a:hover { text-decoration: underline; }

.bylaw-section-body p { margin: 0 0 var(--space-3); }
.bylaw-section-body ul, .bylaw-section-body ol { margin: 0 0 var(--space-3) 1.5rem; }
.bylaw-section-body li { margin-bottom: 0.35rem; }
.bylaw-section-body table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; font-size: 0.95rem; }
.bylaw-section-body th, .bylaw-section-body td { padding: 0.6rem 0.8rem; border-bottom: 1px solid rgba(26,26,42,0.1); text-align: left; }
.bylaw-section-body th { background: rgba(65,57,101,0.06); font-weight: 600; }
.bylaw-section-body strong { color: var(--navy, #413965); }

.suggest-btn {
    appearance: none;
    background: rgba(65,57,101,0.08);
    color: var(--navy, #413965);
    border: 1px solid rgba(65,57,101,0.2);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius, 6px);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}
.suggest-btn:hover { background: rgba(65,57,101,0.15); transform: translateY(-1px); }

.bylaw-pilot { background: rgba(65,57,101,0.04); padding: var(--space-5); border-radius: 8px; margin-top: var(--space-6); }
.bylaw-pilot h2 { font-family: 'Crimson Pro', serif; font-size: 1.4rem; margin: 0 0 var(--space-3); }
.bylaw-pilot p { margin: 0 0 var(--space-3); line-height: 1.6; }

.bylaw-footer-cta { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; padding: var(--space-6) 0 var(--space-3); border-top: 1px solid rgba(26,26,42,0.08); margin-top: var(--space-6); }

/* =========================================================
   Suggest modal
   ========================================================= */

.suggest-modal {
    border: none;
    border-radius: 12px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    background: var(--bg, #faf8f1);
    color: var(--ink, #1a1a2a);
}
.suggest-modal::backdrop {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}
.suggest-modal form {
    padding: var(--space-5) var(--space-5) var(--space-4);
    display: flex; flex-direction: column; gap: var(--space-3);
    max-height: 90vh; overflow-y: auto;
}
.suggest-title { font-family: 'Crimson Pro', serif; font-size: 1.5rem; margin: 0; }
.suggest-section-line { font-size: 0.95rem; color: rgba(26,26,42,0.75); margin: 0 0 var(--space-2); }
.suggest-section-line strong { color: var(--navy, #413965); }

.suggest-modal label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.25rem; color: rgba(26,26,42,0.8); }
.suggest-modal label .req { color: #c33; }
.suggest-modal label .hint { font-weight: 400; color: rgba(26,26,42,0.55); font-size: 0.8rem; }
.suggest-modal input[type="text"], .suggest-modal input[type="email"], .suggest-modal textarea {
    width: 100%; padding: 0.55rem 0.7rem;
    border: 1px solid rgba(26,26,42,0.2); border-radius: 6px;
    font: inherit; font-size: 0.95rem;
    background: #fff; color: var(--ink, #1a1a2a);
    box-sizing: border-box;
}
.suggest-modal input:focus, .suggest-modal textarea:focus { outline: 2px solid var(--navy, #413965); outline-offset: -1px; border-color: var(--navy, #413965); }
.suggest-modal textarea { font-family: inherit; line-height: 1.5; resize: vertical; min-height: 90px; }
.suggest-modal .hp-trap { position: absolute; left: -9999px; }
.suggest-info { font-size: 0.8rem; color: rgba(26,26,42,0.6); line-height: 1.45; margin: 0; }
.suggest-status { font-size: 0.9rem; min-height: 1.2em; margin: 0; }
.suggest-status.success { color: #0a7a3a; }
.suggest-status.error { color: #c33; }
.suggest-actions { display: flex; justify-content: flex-end; gap: var(--space-3); margin-top: var(--space-2); flex-wrap: wrap; }

.suggest-close {
    position: absolute; top: 0.6rem; right: 0.7rem;
    background: none; border: none; font-size: 1.6rem; line-height: 1;
    color: rgba(26,26,42,0.5); cursor: pointer; padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.suggest-close:hover { color: var(--ink, #1a1a2a); background: rgba(0,0,0,0.05); }

@media (max-width: 540px) {
    .suggest-modal { width: 96%; }
    .suggest-modal form { padding: var(--space-4) var(--space-4) var(--space-3); }
    .bylaw-section-header { flex-direction: column; align-items: flex-start; }
    .suggest-btn { font-size: 0.8rem; padding: 0.35rem 0.7rem; }
    .bylaw-section-title { font-size: 1.3rem; }
}

/* Add the new Bylaw nav link to existing topbar */
.topbar-nav .nav-link[aria-current="page"] { color: #fff; }

.pillar-cta { margin-top: var(--space-3); margin-bottom: 0; }
.pillar-link { color: var(--red, #93251E); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(147,37,30,0.4); padding-bottom: 1px; }
.pillar-link:hover { border-bottom-color: var(--red, #93251E); }
