/* ============================================================
   floridadatacenters.org — shared stylesheet
   ============================================================ */

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

:root {
    /* Paper / ink */
    --paper: #f3efe4;
    --paper-deep: #ebe6d5;
    --paper-dark: #ddd6c1;
    --ink: #15171a;
    --ink-soft: #2e3138;
    --ink-fade: #6b6e74;
    --rule: #c5beae;
    --rule-soft: #e2dccb;

    /* Brand: navy + ochre. Forest demoted to status-only.
       --red is kept as alias for legacy templates -> resolves to navy. */
    --navy: #19243a;
    --navy-deep: #0f1929;
    --navy-soft: #2c3a55;
    --ochre: #c47d2a;
    --ochre-deep: #9a5d18;
    --ochre-soft: #e6b774;
    --crimson: #9b2421;
    --forest: #355a3e;
    --slate: #4a5460;

    /* Legacy aliases so older selectors don't break */
    --red: #19243a;
    --red-dark: #0f1929;
    --sand: #d4ccb6;
    --highlight: #f3e3b8;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Work Sans', -apple-system, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "kern", "liga", "onum";
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(160, 35, 29, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(47, 74, 53, 0.02) 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ============ MASTHEAD ============ */
.masthead {
    border-bottom: 3px double var(--ink);
    padding: 18px 0 14px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(243, 239, 228, 0.94);
}
.masthead-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.masthead-inner > .mast-meta:first-child {
    justify-self: start;
}
.masthead-inner > .mast-meta:last-child {
    justify-self: end;
}
.masthead-inner > .mast-meta:first-child {
    justify-self: start;
}
.masthead-inner > .mast-meta:last-child {
    justify-self: end;
}
.mast-meta {
    font-size: 0.72rem;
    color: var(--ink-fade);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}
.mast-meta-right { text-align: right; }
.mast-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 1.78rem;
    letter-spacing: -0.025em;
    text-align: center;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.mast-title a { color: inherit; }
.mast-title .dot { color: var(--red); }

/* ============ TAGLINE ============ */
.tagline-bar {
    border-bottom: 1px solid var(--rule);
    padding: 10px 0;
    font-size: 0.8rem;
    color: var(--ink-fade);
    text-align: center;
    font-style: italic;
    font-family: 'Fraunces', serif;
    background: var(--paper);
}

/* ============ COUNTY NAV ============ */
.county-nav {
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
    overflow-x: auto;
    background: var(--paper);
}
.county-nav-inner {
    display: flex;
    gap: 28px;
    white-space: nowrap;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    justify-content: center;
    min-width: max-content;
}
.county-nav a {
    color: var(--ink-soft);
    transition: color 0.15s;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}
.county-nav a:hover,
.county-nav a.active { color: var(--red); border-bottom-color: var(--red); }

/* ============ BREADCRUMB ============ */
.breadcrumb {
    padding: 20px 0 6px;
    font-size: 0.78rem;
    color: var(--ink-fade);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 10px; color: var(--rule); }

/* ============ COUNTY HEADER ============ */
.page-header {
    padding: 30px 0 50px;
    border-bottom: 1px solid var(--rule);
}
.page-kicker {
    font-size: 0.75rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-kicker::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--red);
}
.page-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.page-title em { font-style: italic; color: var(--red); }
.page-lede {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 820px;
    font-weight: 400;
}
.page-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--ink-fade);
    font-style: italic;
}

/* ============ SECTION HEADERS ============ */
.section {
    padding: 50px 0 20px;
}
.section-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: end;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 14px;
    margin-bottom: 36px;
}
.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    font-variation-settings: "opsz" 144;
}
.section-kicker {
    font-size: 0.72rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    padding-bottom: 6px;
}
.section-count {
    font-size: 0.75rem;
    color: var(--ink-fade);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    padding-bottom: 6px;
}

/* ============ PROJECT CARDS ============ */
.projects { display: flex; flex-direction: column; gap: 24px; }

.project {
    background: transparent;
    border: 1px solid var(--rule);
    padding: 26px 28px;
    transition: border-color 0.2s, background 0.2s;
}
.project:hover {
    background: rgba(234, 229, 216, 0.4);
    border-color: var(--ink-fade);
}
.project-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}
.project-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.2;
}
.project-name .codename {
    color: var(--red);
    font-style: italic;
    font-weight: 500;
    font-size: 1rem;
}
.project-status {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 5px 9px;
    border: 1px solid;
    white-space: nowrap;
    flex-shrink: 0;
}
.status-approved { color: var(--red); border-color: var(--red); background: rgba(160, 35, 29, 0.06); }
.status-pending { color: #8a6510; border-color: #b5872a; background: rgba(181, 135, 42, 0.08); }
.status-proposed { color: var(--ink-soft); border-color: var(--ink-fade); background: rgba(106, 102, 90, 0.05); }
.status-delayed { color: var(--forest); border-color: var(--forest); background: rgba(47, 74, 53, 0.06); }
.status-withdrawn { color: var(--ink-fade); border-color: var(--rule); background: rgba(201, 195, 179, 0.15); text-decoration: line-through; }

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    color: var(--ink-fade);
    margin-bottom: 16px;
}
.project-meta span { display: flex; gap: 5px; }
.project-meta strong { color: var(--ink); font-weight: 600; }

.project-body {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--ink-soft);
}
.project-body strong { color: var(--ink); font-weight: 600; }
.project-body p { margin-bottom: 12px; }
.project-body p:last-child { margin-bottom: 0; }

/* Data grid — used on county pages to show all facts at a glance */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--rule);
    margin: 24px 0;
}
.fact {
    padding: 18px 20px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.fact:nth-child(3n) { border-right: none; }
.fact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-fade);
    font-weight: 600;
    margin-bottom: 6px;
}
.fact-value {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
}

/* Timeline */
.timeline {
    margin: 24px 0;
    border-left: 2px solid var(--rule);
    padding-left: 24px;
}
.timeline-item {
    margin-bottom: 22px;
    position: relative;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 7px;
    width: 10px;
    height: 10px;
    background: var(--paper);
    border: 2px solid var(--red);
    border-radius: 50%;
}
.timeline-date {
    font-size: 0.78rem;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}
.timeline-text {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.55;
}
.timeline-text strong { color: var(--ink); font-weight: 600; }

/* Prose (for article-style pages) */
.prose h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.65rem;
    font-weight: 500;
    margin: 44px 0 16px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.prose h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 28px 0 10px;
    color: var(--ink);
}
.prose p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 18px;
}
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px 24px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; line-height: 1.6; font-size: 1rem; }
.prose li strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--red); border-bottom: 1px solid var(--red); }
.prose a:hover { color: var(--red-dark); border-bottom-color: var(--red-dark); }

.callout {
    background: var(--paper-dark);
    border-left: 4px solid var(--red);
    padding: 20px 24px;
    margin: 28px 0;
    font-family: 'Fraunces', serif;
    font-size: 1.08rem;
    line-height: 1.55;
    color: var(--ink);
    font-style: italic;
}

/* ============ CTA (Defense Kit) ============ */
.cta-box {
    background: var(--ink);
    color: var(--paper);
    padding: 44px 44px;
    margin: 44px 0;
    border: 1px solid var(--ink);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.cta-title {
    font-family: 'Fraunces', serif;
    font-size: 1.55rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--paper);
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.cta-sub {
    font-size: 0.95rem;
    color: var(--sand);
    line-height: 1.55;
    max-width: 520px;
}
.cta-btn {
    background: var(--red);
    color: var(--paper);
    padding: 14px 28px;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
}
.cta-btn:hover { background: var(--red-dark); }

/* ============ FOOTER ============ */
.footer {
    background: var(--ink);
    color: var(--paper);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 44px;
}
.footer-brand {
    font-family: 'Fraunces', serif;
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.footer-brand .dot { color: var(--red); }
.footer-about {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--sand);
    max-width: 440px;
}
.footer-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sand);
    font-weight: 600;
    margin-bottom: 14px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
    color: var(--paper);
    font-size: 0.92rem;
    transition: color 0.15s;
}
.footer-links a:hover { color: var(--sand); }
.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    font-size: 0.78rem;
    color: var(--ink-fade);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
    .fact-grid { grid-template-columns: repeat(2, 1fr); }
    .fact:nth-child(3n) { border-right: 1px solid var(--rule); }
    .fact:nth-child(2n) { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .cta-box { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
    .wrap, .wrap-narrow { padding: 0 20px; }
    .fact-grid { grid-template-columns: 1fr; }
    .fact { border-right: none !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-head { grid-template-columns: 1fr; gap: 8px; }
    .project-top { flex-direction: column; gap: 10px; }
    .cta-box {
        padding: 30px 24px;
        min-width: 0;
    }
    .cta-box > * { min-width: 0; }
    .cta-btn {
        white-space: normal;
        font-size: 0.82rem;
        text-align: center;
        padding: 14px 20px;
        line-height: 1.3;
        letter-spacing: 0.08em;
    }
    .cta-title { font-size: 1.3rem; }

    /* Compact mobile masthead — hide date/meta lines, keep just the title centered */
    .masthead {
        padding: 12px 0 10px;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .masthead-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }
    .mast-meta,
    .mast-meta-right {
        display: none;
    }
    .mast-title {
        font-size: 1.35rem;
    }

    /* On mobile, tagline and county-nav are NOT sticky — they scroll away so only the masthead stays pinned */
    .tagline-bar {
        padding: 6px 0;
        font-size: 0.72rem;
        position: static;
    }

    .county-nav {
        padding: 8px 0;
        position: static;
    }
    .county-nav-inner {
        gap: 18px;
        font-size: 0.72rem;
    }

    /* Tighten vertical rhythm on mobile — desktop paddings add up and look sloppy on phone */
    .page-header { padding: 20px 0 24px; }
    .section { padding: 24px 0 12px; }
    .callout { margin: 16px 0; padding: 16px 18px; font-size: 1rem; }

    /* Risk card: stack score above detail, tighten inner padding, shrink big number */
    .rk-card {
        padding: 22px 20px;
        margin: 20px 0;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .rk-score { padding: 16px 12px; }
    .rk-score-number { font-size: 3.5rem; }
}

/* ============ Risk Card (embedded on project pages) ============ */
.rk-card {
    background: var(--paper-dark);
    border-left: 4px solid var(--red);
    padding: 36px 40px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}
.rk-score {
    text-align: center;
    padding: 22px 20px;
    border: 2px solid;
    background: var(--paper);
}
.rk-score-label {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-fade);
    margin-bottom: 10px;
    font-weight: 600;
}
.rk-score-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 400;
}
.rk-score-denom { font-size: 1.4rem; opacity: 0.55; margin-left: 4px; }
.rk-score-tier {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    margin-top: 8px;
}
.rk-very-high { border-color: var(--red); }
.rk-very-high .rk-score-number,
.rk-very-high .rk-score-tier { color: var(--red); }
.rk-high { border-color: #b5872a; }
.rk-high .rk-score-number,
.rk-high .rk-score-tier { color: #b5872a; }
.rk-medium { border-color: #4d7a3a; }
.rk-medium .rk-score-number,
.rk-medium .rk-score-tier { color: #4d7a3a; }

.rk-head-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 6px;
    color: var(--ink);
}
.rk-head-sub {
    font-family: 'Work Sans', sans-serif;
    color: var(--ink-soft);
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rk-factor { margin-bottom: 16px; }
.rk-factor:last-child { margin-bottom: 0; }
.rk-factor-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}
.rk-factor-name {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 500;
}
.rk-factor-score {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1rem;
    color: var(--ink-soft);
}
.rk-factor-denom { opacity: 0.5; font-size: 0.85rem; }
.rk-factor-bar {
    height: 6px;
    background: var(--rule);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}
.rk-factor-bar-fill {
    height: 100%;
    background: var(--red);
    border-radius: 3px;
}
.rk-factor-reason {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.82rem;
    color: var(--ink-soft);
    margin: 2px 0 0;
    line-height: 1.45;
}

.rk-foot {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

@media (max-width: 720px) {
    .rk-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
    .rk-score-number { font-size: 3.6rem; }
}


/* ============================================================
   Ohio v3 — visual layer
   ============================================================ */

/* Body texture: low-opacity topographic lines.
   Pure CSS; no external assets. */
body::before {
    background-image:
        radial-gradient(ellipse at 12% 18%, rgba(196, 125, 42, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 78%, rgba(25, 36, 58, 0.04) 0%, transparent 55%),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 78px,
            rgba(25, 36, 58, 0.025) 78px,
            rgba(25, 36, 58, 0.025) 79px
        );
    opacity: 1;
}

/* Tabular numerals everywhere numbers matter */
.stat-num,
.fact-value,
.rk-score-number,
.rk-factor-score,
.ballot-countdown-num {
    font-feature-settings: "kern", "liga", "tnum", "lnum";
    font-variant-numeric: tabular-nums lining-nums;
}

/* ============ MASTHEAD: tighten + ochre dot ============ */

.mast-title {
    font-weight: 600;
    font-size: 1.78rem;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.mast-title .dot { color: var(--ochre); }

.tagline-bar {
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-style: normal;
    font-family: 'Work Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    font-weight: 500;
}

/* ============ COUNTY NAV: refined ============ */

.county-nav a:hover,
.county-nav a.active {
    color: var(--ochre-deep);
    border-bottom-color: var(--ochre);
}

/* ============ BALLOT BANNER: dark dashboard ============ */

.ballot-banner {
    background: var(--navy);
    background-image:
        linear-gradient(180deg, var(--navy-soft) 0%, var(--navy) 35%, var(--navy-deep) 100%);
    color: var(--paper);
    padding: 32px 0;
    border-top: 1px solid var(--navy-deep);
    border-bottom: 4px solid var(--ochre);
    position: relative;
}
.ballot-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 22px,
            rgba(196, 125, 42, 0.025) 22px,
            rgba(196, 125, 42, 0.025) 23px
        );
    pointer-events: none;
}
.ballot-banner-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 36px;
    align-items: center;
    position: relative;
}
.ballot-banner-inner > div:last-child {
    justify-self: end;
    text-align: right;
}
.ballot-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--ochre);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ballot-kicker::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--ochre);
}
.ballot-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--paper);
}
.ballot-headline em {
    font-style: italic;
    color: var(--ochre-soft);
}

.ballot-countdown {
    text-align: center;
    padding: 4px 18px;
    border-left: 1px solid rgba(196, 125, 42, 0.25);
    border-right: 1px solid rgba(196, 125, 42, 0.25);
    min-width: 130px;
}
.ballot-countdown-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 0.95;
    color: var(--ochre);
    letter-spacing: -0.03em;
    font-variation-settings: "opsz" 144;
}
.ballot-countdown-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-top: 8px;
    color: var(--paper);
    opacity: 0.75;
    font-weight: 500;
}

.ballot-meta {
    text-align: left;
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(243, 239, 228, 0.82);
    max-width: 320px;
}
.ballot-meta strong {
    color: var(--ochre-soft);
    font-weight: 600;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}
.ballot-meta a {
    color: var(--ochre);
    border-bottom: 1px solid rgba(196, 125, 42, 0.5);
    transition: color 0.15s, border-bottom-color 0.15s;
}
.ballot-meta a:hover {
    color: var(--ochre-soft);
    border-bottom-color: var(--ochre-soft);
}

@media (max-width: 760px) {
    .ballot-banner { padding: 22px 0; }
    .ballot-banner-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }
    .ballot-headline { font-size: 1.2rem; }
    .ballot-kicker { justify-content: center; }
    .ballot-kicker::before { display: none; }
    .ballot-countdown {
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(196, 125, 42, 0.25);
        border-bottom: 1px solid rgba(196, 125, 42, 0.25);
        padding: 16px 0;
    }
    .ballot-countdown-num { font-size: 2.8rem; }
    .ballot-meta { text-align: center; max-width: none; }
}

/* ============ BREAKING NEWS RIBBON ============ */

.callout {
    background: var(--paper-deep);
    border: 1px solid var(--rule);
    border-left: none;
    padding: 18px 24px 18px 56px;
    margin: 22px 0 18px;
    position: relative;
    font-family: 'Work Sans', sans-serif;
    font-style: normal;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 36px;
    background: var(--crimson);
    background-image: linear-gradient(180deg, var(--crimson) 0%, #761a18 100%);
}
.callout::after {
    content: '';
    position: absolute;
    top: 0;
    left: 36px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent #761a18;
}
.callout strong:first-child {
    color: var(--crimson) !important;
    font-weight: 700;
    letter-spacing: 0.18em !important;
    font-size: 0.7rem !important;
}

/* ============ HERO TYPOGRAPHY: magazine pump ============ */

.hero {
    padding: 70px 0 50px;
    border-bottom: 2px solid var(--ink);
}
.hero-kicker {
    color: var(--ochre-deep);
    font-weight: 700;
    letter-spacing: 0.24em;
}
.hero-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 1.0;
    letter-spacing: -0.035em;
    margin: 18px 0 28px;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero-headline em {
    font-style: italic;
    color: var(--ochre-deep);
    font-weight: 500;
}
.hero-lead {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.62;
    color: var(--ink-soft);
    max-width: 680px;
}

/* Magazine-style drop cap */
.hero-lead .firstletter {
    float: left;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 4.6rem;
    line-height: 0.85;
    font-weight: 600;
    color: var(--ochre);
    margin: 8px 12px 0 0;
    padding: 4px 8px 0 0;
    border-right: 1px solid var(--rule);
    letter-spacing: -0.04em;
}

/* ============ STATS GRID: tabular numerals + dividers ============ */

.stats {
    background: var(--paper-deep);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 38px 0;
}
.stat-num {
    color: var(--navy);
    font-weight: 600;
}
.stat-num .unit {
    color: var(--ochre-deep);
    font-weight: 500;
}
.stat-label {
    color: var(--ink-soft);
}

/* ============ STATUS BADGES: distinct + meaningful ============ */

.status-approved,
.project-status.status-approved,
.county-status.status-approved {
    color: var(--crimson);
    border-color: var(--crimson);
    background: rgba(155, 36, 33, 0.06);
}
.status-delayed,
.project-status.status-delayed {
    color: var(--ochre-deep);
    border-color: var(--ochre);
    background: rgba(196, 125, 42, 0.08);
}
.status-pending,
.project-status.status-pending {
    color: var(--ochre-deep);
    border-color: var(--ochre);
    background: rgba(196, 125, 42, 0.08);
}
.status-proposed,
.project-status.status-proposed {
    color: var(--slate);
    border-color: var(--slate);
    background: rgba(74, 84, 96, 0.05);
}
.status-moratorium,
.project-status.status-moratorium {
    color: var(--forest);
    border-color: var(--forest);
    background: rgba(53, 90, 62, 0.06);
}
.status-withdrawn,
.project-status.status-withdrawn {
    color: var(--ink-fade);
    border-color: var(--rule);
    background: var(--rule-soft);
    text-decoration: line-through;
}

/* ============ RISK CARD: tighten + accent ============ */

.rk-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--navy);
    box-shadow: 0 1px 0 var(--rule-soft);
}
.rk-score-number {
    color: var(--ochre-deep);
    font-weight: 600;
}
.rk-very-high .rk-score-number,
.rk-very-high .rk-score-tier { color: var(--crimson); }
.rk-high .rk-score-number,
.rk-high .rk-score-tier { color: var(--ochre-deep); }
.rk-moderate .rk-score-number,
.rk-moderate .rk-score-tier { color: var(--slate); }
.rk-low .rk-score-number,
.rk-low .rk-score-tier { color: var(--forest); }

.rk-factor-bar-fill {
    background: linear-gradient(90deg, var(--ochre) 0%, var(--ochre-deep) 100%);
}
.rk-very-high .rk-factor-bar-fill {
    background: linear-gradient(90deg, var(--crimson) 0%, #761a18 100%);
}

/* ============ KICKERS / SECTION HEADS: ochre, not green ============ */

.section-kicker,
.page-kicker { color: var(--ochre-deep); }
.page-kicker::before { background: var(--ochre); }
.section-head { border-bottom-color: var(--ink); }
.section-title em { color: var(--ochre-deep); }

/* ============ TIMELINE: ochre dots ============ */

.timeline { border-left-color: var(--rule); }
.timeline-item::before { border-color: var(--ochre); }
.timeline-date { color: var(--ochre-deep); }

/* ============ PROSE LINKS: ochre ============ */

.prose a {
    color: var(--ochre-deep);
    border-bottom: 1px solid var(--ochre);
}
.prose a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}

/* ============ COUNTY ROWS ON HOMEPAGE ============ */

.county-row {
    border-bottom: 1px solid var(--rule);
}
.county-name {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
}
.county-name::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--ochre);
    margin-top: 8px;
}
.county-link {
    color: var(--ochre-deep);
    border-bottom: 1px solid var(--ochre);
    transition: color 0.15s, border-bottom-color 0.15s;
}
.county-link:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}
.county-link .arrow { color: var(--ochre); }
.county-link:hover .arrow { color: var(--navy); }

/* ============ NEWSLETTER SIGNUP: editorial, not form-y ============ */

.signup-box {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--navy);
    border-left: none;
    padding: 32px 36px;
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: center;
}
.signup-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.signup-title em {
    font-style: italic;
    color: var(--ochre-deep);
}
.signup-sub {
    font-size: 0.96rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-top: 10px;
    font-family: 'Fraunces', serif;
    font-weight: 400;
}
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.signup-eyebrow {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ochre-deep);
    font-weight: 700;
    margin-bottom: 4px;
}
.signup-input {
    padding: 14px 16px;
    border: 1px solid var(--rule);
    background: var(--paper-deep);
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.15s, background 0.15s;
}
.signup-input:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--paper);
}
.signup-btn {
    padding: 14px 22px;
    background: var(--navy);
    color: var(--paper);
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    cursor: pointer;
    transition: background 0.15s;
}
.signup-btn:hover { background: var(--ochre-deep); }
.signup-foot {
    font-size: 0.78rem;
    color: var(--ink-fade);
    margin-top: 4px;
    font-style: italic;
    font-family: 'Fraunces', serif;
}

@media (max-width: 760px) {
    .signup-box {
        grid-template-columns: 1fr;
        padding: 24px 22px;
        gap: 22px;
    }
    .signup-title { font-size: 1.3rem; }
}

/* ============ FOOTER: ochre brand dot ============ */

.footer-brand .dot { color: var(--ochre); }

/* ============ MOBILE FIXES (preserved from v2) ============ */

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}
.county-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.county-nav::-webkit-scrollbar { display: none; }
.county-nav-inner {
    justify-content: flex-start;
    padding: 0 20px;
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 18px;
    }
    .county-nav-inner {
        gap: 16px;
        padding: 0 18px 0 18px;
    }
    .breadcrumb { padding-left: 0; padding-right: 0; }
    .page-title { font-size: 2.0rem; line-height: 1.15; }
    .hero-headline { font-size: 2.2rem; line-height: 1.05; }
    .hero-lead .firstletter {
        font-size: 3.4rem;
        margin-right: 8px;
    }
}


/* ============ Ohio v4: petition CTA ============ */

.petition-box {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--ochre);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 32px;
    align-items: center;
}
.petition-eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ochre-deep);
    font-weight: 700;
    margin-bottom: 8px;
}
.petition-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.petition-sub {
    font-size: 0.94rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-top: 10px;
    font-family: 'Fraunces', serif;
}
.petition-sub strong {
    color: var(--ink);
    font-weight: 600;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}
.petition-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}
.petition-btn-primary {
    padding: 14px 22px;
    background: var(--ochre);
    color: var(--paper);
    border: none;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-align: center;
    transition: background 0.15s;
    white-space: nowrap;
}
.petition-btn-primary:hover { background: var(--ochre-deep); }
.petition-btn-secondary {
    padding: 12px 20px;
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--rule);
    font-family: 'Work Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.petition-btn-secondary:hover {
    background: var(--paper-deep);
    color: var(--ochre-deep);
}

@media (max-width: 760px) {
    .petition-box {
        grid-template-columns: 1fr;
        padding: 22px 20px;
        gap: 18px;
    }
    .petition-title { font-size: 1.2rem; }
    .petition-actions { min-width: 0; }
}


/* ============================================================
   Ohio v5 — homepage-specific styles (moved from inline)
   ============================================================ */

.hero {
    padding: 70px 0 50px;
    border-bottom: 2px solid var(--ink);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 70px;
    align-items: start;
}
.hero-kicker {
    font-size: 0.72rem;
    color: var(--ochre-deep);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-kicker::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--ochre);
}
.hero-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 1.0;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 32px;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.hero-headline em {
    font-style: italic;
    font-weight: 500;
    color: var(--ochre-deep);
}
.hero-lead {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.62;
    color: var(--ink-soft);
    margin-bottom: 28px;
    font-weight: 400;
}
.hero-lead .firstletter {
    float: left;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 4.6rem;
    line-height: 0.85;
    font-weight: 600;
    color: var(--ochre);
    margin: 8px 12px 0 0;
    padding: 4px 8px 0 0;
    border-right: 1px solid var(--rule);
    letter-spacing: -0.04em;
}
.hero-byline {
    font-size: 0.78rem;
    color: var(--ink-fade);
    padding-top: 20px;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}
.hero-byline a {
    color: var(--ochre-deep);
    border-bottom: 1px solid var(--ochre);
}

.pullquote {
    background: var(--paper-deep);
    border-top: 3px solid var(--navy);
    border-bottom: 1px solid var(--rule);
    padding: 36px 40px 32px;
    position: relative;
}
.pullquote::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 28px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--ochre);
    font-weight: 600;
}
.pullquote-text {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.22rem;
    line-height: 1.5;
    color: var(--ink);
    font-style: italic;
    font-weight: 400;
}
.pullquote-attr {
    font-size: 0.86rem;
    color: var(--ink-soft);
    margin-top: 16px;
    line-height: 1.55;
}
.pullquote-attr strong { color: var(--ink); font-weight: 600; }

/* ============ Stats: light bg, ochre accents ============ */

.stats {
    background: var(--paper-deep);
    color: var(--ink);
    padding: 48px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}
.stat {
    border-left: 3px solid var(--ochre);
    padding-left: 22px;
}
.stat-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--navy);
    font-variation-settings: "opsz" 144;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    font-feature-settings: "tnum", "lnum";
    font-variant-numeric: tabular-nums lining-nums;
}
.stat-num .unit {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ochre-deep);
    margin-left: 6px;
    letter-spacing: 0.02em;
}
.stat-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    font-weight: 600;
    line-height: 1.45;
}

/* ============ County rows: drop sticky sidebar, balanced grid ============ */

.county-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    padding: 38px 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}
.county-row:last-child { border-bottom: none; }
.county-info { /* no sticky — caused alignment bugs */ }
.county-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}
.county-name::after {
    content: '';
    display: block;
    width: 44px;
    height: 2px;
    background: var(--ochre);
    margin-top: 10px;
}
.county-sub {
    font-size: 0.72rem;
    color: var(--ink-fade);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 10px;
    margin-bottom: 16px;
    font-weight: 600;
}
.county-descrip {
    font-size: 0.95rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 18px;
}
.county-descrip strong { color: var(--ink); font-weight: 600; }
.county-link {
    font-size: 0.74rem;
    color: var(--ochre-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-bottom: 1px solid var(--ochre);
    padding-bottom: 2px;
    display: inline-block;
    transition: all 0.15s;
}
.county-link:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}
.county-link .arrow { transition: transform 0.2s; display: inline-block; margin-left: 2px; }
.county-link:hover .arrow { transform: translateX(4px); }

/* ============ Law section: cleaner typography ============ */

.law {
    background: var(--paper-deep);
    padding: 70px 0;
    border-top: 3px double var(--ink);
    border-bottom: 3px double var(--ink);
    margin-top: 50px;
}
.law-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
    align-items: start;
}
.law-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.law-title em {
    font-style: italic;
    color: var(--ochre-deep);
}

/* ============ Mobile: inline-style rules now also live here ============ */

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .county-row { grid-template-columns: 1fr; gap: 24px; }
    .law-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-num { font-size: 2.6rem; }
    .hero-headline { font-size: 2.2rem; line-height: 1.05; }
    .hero-lead .firstletter { font-size: 3.4rem; margin-right: 8px; }
    .law-title { font-size: 1.6rem; }
}


/* ============================================================
   Ohio v9 — topical SEO page styles
   ============================================================ */

.breadcrumb {
    padding: 18px 0 6px;
    font-size: 0.78rem;
    color: var(--ink-fade);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.breadcrumb a {
    color: var(--ochre-deep);
    border-bottom: 1px solid var(--ochre);
}
.breadcrumb .sep {
    margin: 0 10px;
    color: var(--rule);
}

.page-header {
    padding: 30px 0 50px;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 40px;
}
.page-kicker {
    font-size: 0.74rem;
    color: var(--ochre-deep);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    margin-bottom: 22px;
}
.page-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 26px;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.page-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--ochre-deep);
}
.page-lede {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.16rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin-bottom: 22px;
    max-width: 780px;
}
.page-meta {
    display: flex;
    gap: 22px;
    font-size: 0.78rem;
    color: var(--ink-fade);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.prose h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--ink);
    margin: 36px 0 14px;
    letter-spacing: -0.02em;
    line-height: 1.18;
}
.prose h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 8px;
}
.prose p, .prose li {
    font-size: 1rem;
    line-height: 1.68;
    color: var(--ink-soft);
}
.prose p {
    margin-bottom: 16px;
    max-width: 780px;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose ul, .prose ol {
    margin: 0 0 18px 22px;
    max-width: 780px;
}
.prose ul li, .prose ol li {
    margin-bottom: 8px;
}
.prose a {
    color: var(--ochre-deep);
    border-bottom: 1px solid var(--ochre);
}
.prose a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
}
