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

body {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.7;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; }

a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ─────────────────────────────────────────────────── */
.navbar { background: #1a1a1a; height: 48px; }
.nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 48px;
}
.nav-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: #fff;
}
.nav-brand:hover { text-decoration: none; color: #fff; }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
    font-family: 'Inter', sans-serif; font-size: 0.81rem;
    color: #aaa; letter-spacing: 0.5px;
    padding-bottom: 2px; border-bottom: 2px solid transparent;
    transition: color 0.15s;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.nav-active { color: #fff; border-bottom-color: #fff; }

/* ── Main ────────────────────────────────────────────────── */
main { max-width: 1100px; margin: 0 auto; padding: 40px 20px; min-height: calc(100vh - 140px); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
    text-align: center; padding: 28px 20px; border-top: 1px solid #e0e0e0;
    font-family: 'Inter', sans-serif;
}
footer p { color: #999; font-size: 0.82rem; }
.footer-sub { font-size: 0.72rem !important; color: #bbb !important; margin-top: 4px; }

/* ── Homepage: Top ───────────────────────────────────────── */
.home-top { padding: 60px 0 48px; max-width: 640px; }
.home-tagline {
    font-family: 'Playfair Display', Georgia, serif; font-size: 2.25rem;
    line-height: 1.3; margin-bottom: 12px; max-width: 600px;
}
.home-desc {
    font-family: 'Source Serif 4', Georgia, serif; font-size: 1.06rem;
    color: #666; margin-bottom: 24px; line-height: 1.6;
}
.home-form { max-width: 520px; position: relative; }
.home-search-row { display: flex; }
.home-input {
    flex: 1; height: 46px; padding: 0 16px;
    font-family: 'Source Serif 4', Georgia, serif; font-size: 1rem;
    border: 1px solid #ddd; border-radius: 6px 0 0 6px; outline: none;
}
.home-input:focus { border-color: #1a1a1a; }
.home-btn {
    height: 46px; padding: 0 24px; border: none; border-radius: 0 6px 6px 0;
    background: #1a1a1a; color: #fff; font-family: 'Inter', sans-serif;
    font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.home-btn:hover { background: #333; }
.home-suggestions {
    margin-top: 12px; font-family: 'Inter', sans-serif; font-size: 0.81rem; color: #888;
}
.home-suggestions a { font-size: 0.81rem; }

/* ── Homepage: Sections ──────────────────────────────────── */
.home-sections { padding-bottom: 60px; }
.home-section { margin-bottom: 48px; }
.home-section-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.home-section-title {
    font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem;
    font-weight: 700; margin: 0;
}
.home-date { font-family: 'Inter', sans-serif; font-size: 0.81rem; color: #999; }
.home-section-sub {
    font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #888;
    margin-top: -8px; margin-bottom: 16px;
}
.home-loading { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #bbb; }
.home-empty { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #999; font-style: italic; }

/* ── Signals Layout (two-column) ─────────────────────────── */
.signals-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
.signals-main { min-width: 0; }
.signals-side { }
.side-label {
    font-family: 'Inter', sans-serif !important; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 1.5px; color: #888;
    margin-bottom: 12px;
}

/* ── Insight Cards ───────────────────────────────────────── */
.insight-card {
    display: block; padding: 14px 18px; margin-bottom: 8px; border-radius: 4px;
    font-family: 'Source Serif 4', Georgia, serif; font-size: 0.94rem; color: #333;
    text-decoration: none; border: 1px solid #e0e0e0; border-left: 4px solid #ccc;
    background: #fff; transition: background 0.15s;
    line-height: 1.5;
}
.insight-card:hover { background: #f9f9f9; text-decoration: none; }
.insight-spike { border-left-color: #d4a574; }
.insight-silence { border-left-color: #c62828; }
.insight-type {
    font-family: 'Inter', sans-serif; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 1px; padding: 2px 7px; border-radius: 3px; margin-right: 6px;
    display: inline-block; vertical-align: middle;
}
.insight-spike .insight-type { background: #fdf0e0; color: #a67c52; }
.insight-silence .insight-type { background: #fde8e8; color: #a04040; }

/* ── Keyword Pills ───────────────────────────────────────── */
.kw-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; margin: 3px; background: #f5f5f5; border-radius: 20px;
    font-family: 'Inter', sans-serif; font-size: 0.81rem; color: #333;
    text-decoration: none; transition: background 0.15s;
}
.kw-pill:hover { background: #e8e8e8; text-decoration: none; }
.kw-pill-count {
    font-size: 0.7rem; font-weight: 600; color: #888;
}

/* ── Heatmap ─────────────────────────────────────────────── */
.heatmap-table { border-collapse: collapse; width: 100%; }
.heatmap-table th {
    font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600;
    padding: 10px 6px; text-align: center; border-bottom: 2px solid #1a1a1a;
    white-space: nowrap;
}
.heatmap-table th a {
    color: #1a1a1a; display: flex; flex-direction: column; align-items: center;
}
.heatmap-table th a:hover { color: #1a73e8; text-decoration: underline; }
.hm-kw-en {
    font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400;
    color: #999; margin-bottom: 2px;
}
.hm-kw-zh {
    font-size: 0.72rem; font-weight: 600;
}
.hm-source {
    font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 500;
    padding: 10px 12px; text-align: left; white-space: nowrap; border-right: 1px solid #e0e0e0;
}
.hm-cell {
    font-family: 'Inter', sans-serif; font-size: 0.78rem; font-variant-numeric: tabular-nums;
    padding: 8px 6px; text-align: center; border: 1px solid #f0f0f0;
    cursor: pointer; transition: outline 0.1s;
}
.hm-cell:hover { outline: 2px solid #1a1a1a; }
.hm-link { text-decoration: none !important; }

/* ── Search Layout ───────────────────────────────────────── */
.search-layout {
    display: grid; grid-template-columns: 1fr 280px; gap: 32px;
}
.search-main { min-width: 0; }

/* ── Sidebar ─────────────────────────────────────────────── */
.search-sidebar { }
.sidebar-panel {
    position: sticky; top: 60px;
    background: #f9f9f9; border: 1px solid #e5e5e5; border-radius: 4px; padding: 20px;
}
.sidebar-panel h3 {
    font-family: 'Inter', sans-serif; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 1.5px; color: #888; margin-bottom: 8px;
}
.sidebar-note {
    font-family: 'Inter', sans-serif; font-size: 0.75rem; color: #999;
    line-height: 1.5; margin-bottom: 12px;
}
#source-selector {
    width: 100%; padding: 7px 10px; border: 1px solid #ccc; border-radius: 4px;
    font-family: 'Inter', sans-serif; font-size: 0.82rem; background: #fff;
    margin-bottom: 16px; outline: none;
}
#source-selector:focus { border-color: #1a1a1a; }

/* ── Sensitive date entries ──────────────────────────────── */
.sensitive-entry { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.sensitive-entry:last-child { border-bottom: none; }
.sensitive-label {
    font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 600; color: #1a1a1a;
}
.sensitive-label-zh {
    font-family: 'Inter', sans-serif; font-size: 0.73rem; color: #888; margin-bottom: 4px;
}
.syr-block {
    font-family: 'Inter', sans-serif; font-size: 0.73rem; color: #555;
    padding: 5px 0; border-bottom: 1px dashed #eee;
}
.syr-block:last-child { border-bottom: none; }
.syr-year { font-weight: 700; color: #444; margin-bottom: 2px; }
.syr-lines { padding-left: 8px; }
.syr-line { line-height: 1.6; }
.syr-spike { color: #2e7d32; font-weight: 600; }
.syr-suppressed { color: #c62828; font-weight: 600; }
.syr-nodata { color: #999; font-style: italic; }
.syr-interp {
    font-size: 0.7rem; padding-left: 8px; margin-top: 1px; margin-bottom: 2px;
    font-style: italic;
}
.syr-expand {
    font-size: 12px; color: #1a73e8; cursor: pointer; padding: 4px 0 2px 8px;
    font-family: 'Inter', sans-serif;
}
.syr-expand:hover { text-decoration: underline; }
.syr-block-older .syr-year,
.syr-block-older .syr-lines,
.syr-block-older .syr-line { color: #888; font-size: 12px; }
.syr-block-older { margin-left: 6px; }
.sensitive-loading { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #999; }
.sensitive-empty { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #999; font-style: italic; }

/* ── Autocomplete ────────────────────────────────────────── */
.autocomplete-dropdown {
    position: absolute; background: #fff; border: 1px solid #ddd; border-top: none;
    border-radius: 0 0 6px 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-height: 320px; overflow-y: auto; z-index: 100;
    left: 0; right: 0;
}
.ac-item {
    padding: 10px 16px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center;
}
.ac-item:hover, .ac-item.active { background: #f5f5f5; }
.ac-keyword { font-size: 15px; }
.ac-english { font-size: 13px; color: #888; }

/* ── Search ──────────────────────────────────────────────── */
.search-topbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; margin-bottom: 12px; flex-wrap: wrap;
}
.search-topbar .search-heading { margin-bottom: 0; }
.search-form-inline { position: relative; }
.search-inline-row { display: flex; }
.search-inline-input {
    width: 260px; height: 38px; padding: 0 12px;
    font-family: 'Source Serif 4', Georgia, serif; font-size: 0.9rem;
    border: 1px solid #ddd; border-radius: 6px 0 0 6px; outline: none;
}
.search-inline-input:focus { border-color: #1a1a1a; }
.search-inline-btn {
    height: 38px; padding: 0 16px; border: none; border-radius: 0 6px 6px 0;
    background: #1a1a1a; color: #fff; font-family: 'Inter', sans-serif;
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.search-inline-btn:hover { background: #333; }
.search-heading { margin-bottom: 12px; }
.method-note {
    background: #f9f9f9; border-left: 3px solid #d4a574;
    padding: 14px 18px; margin-bottom: 24px;
    font-size: 0.85rem; color: #555; line-height: 1.6;
}
/* ── Search Loading Animation ─────────────────────────────── */
.search-loading {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 80px 20px; background: #fff;
}
.loading-text {
    font-family: 'Inter', sans-serif; font-size: 16px; color: #666;
    animation: pulse 1.5s ease-in-out infinite;
}
.loading-bar-container {
    width: 200px; height: 2px; background: #eee; margin-top: 20px;
    overflow: hidden; border-radius: 1px;
}
.loading-bar {
    width: 40%; height: 100%; background: #1a1a1a;
    animation: loading-slide 1.2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes loading-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}
.results-container {
    transition: opacity 0.4s ease;
}
#loading { text-align: center; color: #999; padding: 40px 0; font-family: 'Inter', sans-serif; }
#matched-info { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #666; margin-bottom: 8px; }
.title-only-notice {
    background: #fff8f0; border-left: 3px solid #e67e22;
    padding: 10px 14px; margin-bottom: 12px; font-size: 0.85rem; color: #8a5a00;
}

/* ── Timeline Chart ──────────────────────────────────────── */
.timeline-controls { display: flex; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.toggle-group { display: flex; }
.toggle-group button {
    font-family: 'Inter', sans-serif; font-size: 0.75rem; padding: 6px 14px;
    border: 1px solid #ddd; background: #fff; cursor: pointer; color: #555;
    transition: background 0.1s;
}
.toggle-group button + button { border-left: none; }
.toggle-group button:first-child { border-radius: 4px 0 0 4px; }
.toggle-group button:last-child { border-radius: 0 4px 4px 0; }
.toggle-group button.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.toggle-group button:hover:not(.active) { background: #f5f5f5; }
.timeline-container {
    position: relative;
    height: 320px;
}
#timeline-chart {
    width: 100% !important;
    height: 100% !important;
}
.source-checkboxes {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px;
    font-family: 'Inter', sans-serif; font-size: 0.81rem;
}
.source-checkbox { display: flex; align-items: center; gap: 5px; cursor: pointer; color: #444; }
.source-checkbox input { margin: 0; cursor: pointer; }
.color-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.timeline-tooltip {
    position: fixed; pointer-events: none; z-index: 1000;
    background: #fff; color: #1a1a1a; padding: 8px 12px;
    border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-family: 'Inter', sans-serif; font-size: 0.75rem; line-height: 1.5;
    white-space: nowrap;
}

/* ── Tables ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; }
th {
    font-family: 'Inter', sans-serif; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 1px; color: #888;
    text-align: left; padding: 8px 10px; border-bottom: 2px solid #e0e0e0;
}
td {
    font-family: 'Inter', sans-serif; font-size: 0.85rem;
    padding: 8px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: top;
}
td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Pagination ──────────────────────────────────────────── */
#pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; margin: 20px 0; font-family: 'Inter', sans-serif; font-size: 0.85rem;
}
#pagination a, #pagination span {
    padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 3px; color: #555;
}
#pagination a:hover { background: #f5f5f5; text-decoration: none; }
#pagination .current { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
#articles-count { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #888; margin-bottom: 8px; }

/* ── Map ─────────────────────────────────────────────────── */
#china-map { position: relative; margin-bottom: 24px; min-height: 600px; background: #f5f5f5; }
#china-map svg { display: block; background: #fafafa; }
#china-map path { cursor: default; }
.map-tooltip {
    position: absolute; pointer-events: none; z-index: 1000;
    background: #fff; color: #1a1a1a; padding: 12px;
    border: 1px solid #ccc; border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-family: 'Inter', sans-serif; font-size: 0.78rem; line-height: 1.6;
    white-space: nowrap;
}

/* ── Section block ───────────────────────────────────────── */
.section-block { margin-bottom: 32px; }
.section-note { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: #888; margin-bottom: 16px; }

/* ── Day of Week Chart ─────────────────────────────────────── */
.dow-source-block { margin-bottom: 20px; }
.dow-source-name {
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    color: #333; margin-bottom: 6px;
}
.dow-bars { max-width: 400px; }
.dow-row { display: flex; align-items: center; margin-bottom: 3px; gap: 8px; }
.dow-label {
    width: 30px; font-family: 'Inter', sans-serif; font-size: 12px;
    color: #666; text-align: right; flex-shrink: 0;
}
.dow-track { flex: 1; height: 16px; background: #f5f5f5; border-radius: 3px; overflow: hidden; }
.dow-bar { height: 100%; border-radius: 3px; }
.dow-count {
    width: 36px; font-family: 'Inter', sans-serif; font-size: 12px;
    color: #666; text-align: right; flex-shrink: 0;
}
.dow-expand {
    font-family: 'Inter', sans-serif; font-size: 12px; color: #1a73e8;
    cursor: pointer; padding: 4px 0; margin-bottom: 12px;
}
.dow-expand:hover { text-decoration: underline; }

/* ── Province Cards ──────────────────────────────────────── */
.cards-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.pcard {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 6px;
    padding: 20px; border-left: 4px solid #6b8fb5;
}
.pcard-header { margin-bottom: 12px; }
.pcard-province {
    font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: #1a1a1a;
}
.pcard-tag {
    display: inline-block; font-size: 0.65rem; font-weight: 600;
    background: #fdf0e0; color: #a67c52; padding: 1px 6px;
    border-radius: 3px; vertical-align: middle; margin-left: 4px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.pcard-paper {
    font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #888; margin-top: 2px;
}
.pcard-amp-wrap {
    position: relative; margin-bottom: 12px; height: 40px;
}
.pcard-amp-bar {
    position: absolute; top: 28px; left: 0; height: 8px; border-radius: 4px;
    min-width: 4px;
}
.pcard-amp-num {
    font-family: 'Inter', sans-serif; font-size: 2rem; font-weight: 700;
    color: #1a1a1a; line-height: 1;
}
.pcard-details {
    font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #444;
    margin-bottom: 8px;
}
.pcard-row { margin-bottom: 2px; }
.pcard-stats {
    font-family: 'Inter', sans-serif; font-size: 0.76rem; color: #999;
    padding-top: 8px; border-top: 1px solid #f0f0f0;
}
.pcard-delay { color: #666; font-style: italic; }
.pcard-trend-up { color: #27ae60; font-weight: 500; }
.pcard-trend-down { color: #c0392b; font-weight: 500; }
.pcard-trend-flat { color: #888; }
.pcard-progress {
    display: inline-block; width: 60px; height: 6px; background: #f0f0f0;
    border-radius: 3px; vertical-align: middle; margin-left: 6px;
}
.pcard-progress-fill {
    height: 100%; background: #d4a574; border-radius: 3px;
}
.pcard-warning {
    font-family: 'Inter', sans-serif; font-size: 0.74rem; color: #c0392b;
    margin-top: 6px;
}
.pcard-missing {
    font-family: 'Inter', sans-serif; font-size: 0.82rem; color: #999;
    margin-top: 16px; font-style: italic;
}

/* ── Page Title ──────────────────────────────────────────── */
.page-title {
    font-family: 'Playfair Display', Georgia, serif; font-size: 1.8rem;
    font-weight: 700; margin-bottom: 8px;
}
.page-subtitle {
    font-family: 'Source Serif 4', Georgia, serif; font-size: 0.95rem;
    color: #666; margin-bottom: 32px; line-height: 1.6;
}

/* ── Project Cards ───────────────────────────────────────── */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.project-card {
    display: block; border: 1px solid #e0e0e0; border-radius: 8px;
    overflow: hidden; cursor: pointer; text-decoration: none; color: inherit;
    transition: box-shadow 0.2s;
}
.project-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); text-decoration: none; }
.project-cover {
    width: 100%; height: 200px; background: #e8e8e8;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #999;
}
.project-title {
    font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem;
    font-weight: 700; margin: 16px 20px 8px; color: #1a1a1a;
}
.project-subtitle {
    font-family: 'Source Serif 4', Georgia, serif; font-size: 0.94rem;
    color: #555; margin: 0 20px 12px; line-height: 1.5;
}
.project-meta { margin: 0 20px 20px; display: flex; gap: 8px; align-items: center; }
.keyword-pill {
    font-family: 'Inter', sans-serif; font-size: 0.75rem;
    background: #f5f5f5; padding: 4px 12px; border-radius: 12px; color: #555;
}
.status-tag {
    font-family: 'Inter', sans-serif; font-size: 0.68rem; font-weight: 600;
    padding: 3px 10px; border-radius: 10px; background: #fff3e0; color: #e65100;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.status-tag.status-active { background: #e8f5e9; color: #2e7d32; }

/* ── Project Header ─────────────────────────────────────── */
.project-header { margin-bottom: 40px; }
.keyword-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.keyword-tag {
    font-family: 'Inter', sans-serif; font-size: 0.78rem;
    background: #f0f0f0; color: #444; padding: 6px 14px; border-radius: 16px;
}

/* ── Key Events Timeline ────────────────────────────────── */
.events-timeline {
    display: flex; align-items: flex-start; gap: 0;
    position: relative; padding: 24px 0 16px;
    overflow-x: auto;
}
.events-timeline::before {
    content: ''; position: absolute; top: 50%; left: 0; right: 0;
    height: 2px; background: #ddd; transform: translateY(-50%);
}
.event-marker {
    position: relative; flex: 1; min-width: 120px; text-align: center;
    padding: 0 8px;
}
.event-marker::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 12px; height: 12px; background: #1a1a1a; border-radius: 50%;
    transform: translate(-50%, -50%); z-index: 1;
}
.event-date {
    font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600;
    color: #888; margin-bottom: 20px;
}
.event-label {
    font-family: 'Inter', sans-serif; font-size: 0.78rem;
    color: #333; line-height: 1.4; margin-top: 20px;
}

/* ── Empty State ────────────────────────────────────────── */
.page-empty {
    font-family: 'Inter', sans-serif; font-size: 0.95rem;
    color: #888; font-style: italic; padding: 40px 0; text-align: center;
}

/* ── About Page ──────────────────────────────────────────── */
.about-content {
    max-width: 750px; margin: 0 auto;
    font-family: 'Source Serif 4', Georgia, serif; font-size: 1.06rem;
    line-height: 1.8;
}
.about-content p { margin-bottom: 24px; color: #1a1a1a; }
.about-title {
    font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem;
    font-weight: 700; margin-top: 56px; margin-bottom: 16px;
}
.about-first { margin-top: 0; }
.about-sep { border: none; border-top: 1px solid #e0e0e0; margin: 48px 0; }
.about-credits { font-size: 0.82rem; color: #999; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .search-layout { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid { grid-template-columns: 1fr; }
    .signals-layout { grid-template-columns: 1fr; }
    .home-tagline { font-size: 1.75rem; }
    .home-input { width: 100%; }
}
@media (max-width: 600px) {
    .cards-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 0.72rem; }
    .home-tagline { font-size: 1.5rem; }
}
