/* ============================================================
   BOOKSEY.COM — INDEPENDENT INVESTIGATION CASE FILE
   Design: Law Firm / Forensic Investigation Report
   Palette: Navy-Black + Gold + Red Severity
   ============================================================ */

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

/* ===== ROOT VARIABLES ===== */
:root {
    --bg-primary: #0b0e14;
    --bg-secondary: #111827;
    --bg-card: #1a1f2e;
    --bg-evidence: #141924;
    --bg-sidebar: #0d1117;

    --text-primary: #e4e4e7;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --gold: #dbb94e;
    --gold-bright: #f0c940;
    --gold-dim: #a08530;

    --red-alert: #ef4444;
    --red-muted: #b91c1c;
    --red-border: #7f1d1d;
    --red-bg: rgba(220, 38, 38, 0.06);

    --blue-link: #6b9bd2;

    --border-subtle: #1f2937;
    --border-medium: #374151;

    --font-heading: 'Playfair Display', 'Georgia', 'Century Schoolbook', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ===== BODY ===== */
body {
    font-family: var(--font-body);
    line-height: 1.75;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #ffffff;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; letter-spacing: 0.02em; }
h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
}
h3 {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.75; font-size: 1.02rem; }
a { color: var(--blue-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: #93b8e8; text-decoration: underline; }
strong { color: #ffffff; font-weight: 600; }
em { color: var(--text-primary); }
blockquote {
    border-left: 3px solid var(--gold-dim);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(201, 169, 78, 0.04);
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== LAYOUT ===== */
.container { max-width: 940px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== CASE HEADER ===== */
.case-header {
    background: linear-gradient(180deg, #0f1520 0%, var(--bg-primary) 100%);
    border-bottom: 3px solid var(--gold);
    padding: 3.5rem 0 2.5rem;
    position: relative;
}
.case-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--red-alert);
}
.case-header { overflow: hidden; }

/* ===== SEARCHLIGHT BEAMS ===== */
.searchlight-left,
.searchlight-right {
    position: absolute;
    bottom: 0;
    width: 150px;
    height: 550px;
    background: linear-gradient(to top, rgba(201, 169, 78, 1) 0%, rgba(255, 220, 100, 0.5) 30%, rgba(201, 169, 78, 0.15) 60%, transparent 100%);
    transform-origin: bottom center;
    z-index: 0;
    pointer-events: none;
    filter: blur(4px);
    width: 180px;
    height: 600px;
}
.searchlight-left {
    left: 3%;
    animation: sweepLeft 4s ease-in-out infinite;
}
.searchlight-right {
    right: 3%;
    animation: sweepRight 4s ease-in-out infinite;
}
@keyframes sweepLeft {
    0%   { transform: rotate(-15deg); }
    50%  { transform: rotate(30deg); }
    100% { transform: rotate(-15deg); }
}
@keyframes sweepRight {
    0%   { transform: rotate(15deg); }
    50%  { transform: rotate(-30deg); }
    100% { transform: rotate(15deg); }
}

/* Second set - slightly offset timing for depth */
.searchlight-left-2,
.searchlight-right-2 {
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 500px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.25) 35%, transparent 100%);
    transform-origin: bottom center;
    z-index: 0;
    pointer-events: none;
    filter: blur(6px);
    width: 120px;
    height: 550px;
}
.searchlight-left-2 {
    left: 8%;
    animation: sweepLeft2 5s ease-in-out infinite;
}
.searchlight-right-2 {
    right: 8%;
    animation: sweepRight2 5s ease-in-out infinite;
}
@keyframes sweepLeft2 {
    0%   { transform: rotate(-5deg); }
    50%  { transform: rotate(35deg); }
    100% { transform: rotate(-5deg); }
}
@keyframes sweepRight2 {
    0%   { transform: rotate(5deg); }
    50%  { transform: rotate(-35deg); }
    100% { transform: rotate(5deg); }
}

.case-header .container { position: relative; z-index: 1; }
.case-docket {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.5rem;
}
.case-title {
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-medium);
    text-shadow: 0 0 30px rgba(219, 185, 78, 0.15);
}
.case-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.case-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.case-meta-item {
    display: flex;
    flex-direction: column;
}
.case-meta-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.case-meta-value {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 500;
}
.case-meta-value.severity-high {
    color: #fca5a5;
    font-weight: 700;
    animation: pulseRed 2s ease-in-out infinite;
}
@keyframes pulseRed {
    0%, 100% { color: #fca5a5; text-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
    50% { color: #ff4444; text-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 40px rgba(239, 68, 68, 0.3); }
}

/* ===== WANTED STAMP ===== */
.case-header::after {
    content: 'WANTED';
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(0, -50%) rotate(12deg);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    color: rgba(239, 68, 68, 0.14);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 5px solid rgba(239, 68, 68, 0.14);
    padding: 0.2em 0.5em;
    pointer-events: none;
    z-index: 0;
}
.case-origin {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--gold-dim);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== CLASSIFICATION STAMP ===== */
.stamp {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 0.25rem 0.8rem;
    border: 2px solid;
    transform: rotate(-1.5deg);
}
.stamp--fraud {
    color: var(--red-alert);
    border-color: var(--red-alert);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
    animation: stampPulse 3s ease-in-out infinite;
}
@keyframes stampPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 16px rgba(239, 68, 68, 0.5); }
}
.stamp--active {
    color: #f59e0b;
    border-color: #f59e0b;
}
.stamp--confirmed {
    color: var(--gold);
    border-color: var(--gold);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(11, 14, 20, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}
.nav-brand {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}
.nav-link {
    padding: 0.35rem 0.65rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold);
    text-decoration: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--gold);
    margin: 2px 0;
    transition: 0.3s;
}

/* ===== SECTIONS ===== */
.section {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.section:last-of-type { border-bottom: none; }
.section-number {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: block;
}

/* ===== EXECUTIVE SUMMARY ===== */
.exec-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-top: 3px solid var(--gold);
    padding: 2rem;
    margin-bottom: 2rem;
}
.exec-summary p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}
.exec-summary p:last-child { margin-bottom: 0; }

/* ===== LOSS SUMMARY ===== */
.loss-summary {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-evidence) 100%);
    border: 1px solid var(--red-border);
    border-top: 3px solid var(--red-alert);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}
.loss-summary__amount {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--red-alert);
    margin-bottom: 0.25rem;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    animation: pulseRed 2s ease-in-out infinite;
}
.loss-summary__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}
.loss-summary__breakdown {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.loss-summary__item {
    text-align: center;
}
.loss-summary__item-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}
.loss-summary__item-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* ===== SUBJECT PROFILE ===== */
.subject-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-left: 4px solid var(--red-alert);
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}
.subject-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}
.subject-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.1rem;
}
.subject-card__alias {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--red-alert);
    font-weight: 500;
}
.subject-card__role {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}
.subject-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1px;
    background: var(--border-subtle);
    margin-bottom: 1.5rem;
}
.subject-field {
    padding: 0.75rem 1rem;
    background: var(--bg-evidence);
}
.subject-field__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    display: block;
}
.subject-field__value {
    font-size: 0.92rem;
    color: var(--text-primary);
    font-weight: 500;
}
.subject-field--alert .subject-field__value {
    color: #fca5a5;
    font-weight: 700;
}
.subject-findings {
    margin-top: 1.5rem;
}
.subject-findings h4 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}
.finding-item {
    padding: 0.6rem 0 0.6rem 1.2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.3rem;
}
.finding-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 5px;
    height: 5px;
    background: var(--red-alert);
}
.finding-item strong { color: #ffffff; }
.finding-item .source {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== CRIMINAL RECORD BOX ===== */
.criminal-record {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid var(--red-border);
    border-left: 4px solid var(--red-alert);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}
.criminal-record__title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red-alert);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.criminal-record p {
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.criminal-record p:last-child { margin-bottom: 0; }

/* ===== THE PLAYBOOK ===== */
.playbook-phase {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-left: 4px solid var(--gold);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.playbook-phase__number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.playbook-phase__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.playbook-phase p {
    font-size: 0.95rem;
    line-height: 1.7;
}
.playbook-phase--critical {
    border-left-color: var(--red-alert);
    background: rgba(220, 38, 38, 0.03);
}
.playbook-phase--critical .playbook-phase__number { color: var(--red-alert); }

.playbook-callout {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-top: 3px solid var(--red-alert);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-size: 0.95rem;
}
.playbook-callout__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--red-alert);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* ===== EXHIBIT / EVIDENCE ===== */
.exhibit {
    background: var(--bg-evidence);
    border: 1px solid var(--border-medium);
    margin: 1.5rem 0;
}
.exhibit__header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-medium);
    padding: 0.6rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.exhibit__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    font-weight: 700;
}
.exhibit__type {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.exhibit__content {
    padding: 1.2rem;
}
.exhibit__content p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.exhibit__content p:last-child { margin-bottom: 0; }
.exhibit__source {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ===== EVIDENCE REFERENCE TAG ===== */
.evidence-ref {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--gold);
    background: rgba(201, 169, 78, 0.08);
    border: 1px solid rgba(201, 169, 78, 0.25);
    padding: 0.1rem 0.4rem;
    text-decoration: none;
    white-space: nowrap;
}
.evidence-ref:hover {
    background: rgba(201, 169, 78, 0.15);
    color: var(--gold-bright);
    text-decoration: none;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 3rem;
    border-left: 2px solid var(--gold-dim);
}
.timeline-entry {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}
.timeline-entry::before {
    content: '';
    position: absolute;
    left: -3.35rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}
.timeline-entry--critical::before {
    background: var(--red-alert);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
.timeline-date {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--gold);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}
.timeline-entry--critical .timeline-date { color: var(--red-alert); }
.timeline-body {
    background: var(--bg-card);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-subtle);
}
.timeline-body h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.4rem;
}
.timeline-body p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.timeline-body p:last-child { margin-bottom: 0; }

/* ===== SCHEME / DATA CARDS ===== */
.scheme-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-top: 3px solid var(--red-alert);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}
.scheme-card h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}
.scheme-list {
    list-style: none;
    margin: 0.75rem 0;
}
.scheme-list li {
    padding: 0.4rem 0 0.4rem 1.2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}
.scheme-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 5px;
    height: 5px;
    background: var(--red-alert);
}
.scheme-list li strong { color: #ffffff; }
.loss-total {
    margin-top: 1rem;
    padding: 0.7rem 1rem;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid var(--red-border);
    color: #fca5a5;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    font-family: var(--font-mono);
}
.source-ref {
    margin-top: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}
.source-ref a { color: var(--blue-link); }

/* ===== WALLET TABLE ===== */
.wallet-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.88rem;
}
.wallet-table th {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-align: left;
    padding: 0.6rem 0.8rem;
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--gold-dim);
    font-weight: 700;
}
.wallet-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    vertical-align: top;
}
.wallet-table tr:hover td { background: rgba(201, 169, 78, 0.03); }
.wallet-table .mono {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    word-break: break-all;
    color: var(--text-primary);
}
.wallet-table .role { font-weight: 600; color: var(--text-primary); }

/* ===== RED FLAGS ===== */
.red-flag {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-left: 4px solid var(--red-alert);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.red-flag__number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--red-alert);
    line-height: 1;
    min-width: 2rem;
    text-align: center;
    flex-shrink: 0;
}
.red-flag__content h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
    text-transform: none;
    letter-spacing: normal;
}
.red-flag__content p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* ===== PRESS RELEASE / ASTROTURF SECTION ===== */
.pr-article {
    background: var(--bg-evidence);
    border: 1px solid var(--border-subtle);
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.pr-article__outlet {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dim);
    min-width: 100px;
    flex-shrink: 0;
    padding-top: 0.1rem;
}
.pr-article__title {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== COMPLAINT / AGENCY GRID ===== */
.agency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.agency-item {
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    border-left: 3px solid var(--gold);
    font-size: 0.9rem;
    color: var(--text-primary);
}
.agency-item strong { display: block; margin-bottom: 0.2rem; }
.agency-item a { color: var(--blue-link); font-size: 0.85rem; }
.vara-callout {
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid var(--red-border);
    border-left: 4px solid var(--red-alert);
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
}
.vara-callout strong { color: #fca5a5; }
.vara-callout p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 0; }

/* ===== PAY PEOPLE SECTION ===== */
.resolution-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-top: 3px solid var(--gold);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}
.resolution-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.resolution-box p {
    font-size: 1.05rem;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto 0.75rem;
}
.resolution-box p:last-child { margin-bottom: 0; }
.resolution-box .emphasis {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-bright);
    font-style: italic;
}

/* ===== LEGAL SECTION ===== */
.legal-section { background: var(--bg-secondary); }
.legal-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}
.legal-block:last-child { border-bottom: none; padding-bottom: 0; }
.legal-block h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.legal-cite {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.legal-block p {
    font-size: 0.92rem;
    line-height: 1.65;
}
.legal-case {
    margin: 0.5rem 0 0.5rem 1rem;
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 2px solid var(--border-medium);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.legal-case strong { color: var(--text-secondary); font-size: 0.85rem; }
.legal-summary {
    background: rgba(201, 169, 78, 0.04);
    border: 1px solid var(--gold-dim);
    padding: 1.5rem;
    margin-top: 2rem;
}
.legal-summary h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}
.legal-summary ul {
    list-style: none;
    margin: 0;
}
.legal-summary li {
    padding: 0.3rem 0 0.3rem 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.legal-summary li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    background: var(--gold);
}
.slapp-warning {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: rgba(220, 38, 38, 0.06);
    border: 1px solid var(--red-alert);
    font-size: 0.88rem;
    color: #fca5a5;
    font-weight: 600;
}

/* ===== CONTACT FORM ===== */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    padding: 2rem;
}
.contact-form { margin: 1.5rem 0; max-width: 540px; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border-medium);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgba(201, 169, 78, 0.3);
}
.submit-btn {
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    padding: 0.65rem 2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: background 0.2s;
}
.submit-btn:hover { background: var(--gold-bright); }
.privacy-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #060810;
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
    text-align: center;
}
.footer p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}
.last-updated {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted) !important;
    letter-spacing: 0.05em;
    margin-top: 0.75rem !important;
}

/* ===== DISCLAIMER BUTTON ===== */
.disclaimer-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--gold-dim);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 1500;
    transition: all 0.2s;
    color: var(--gold);
    font-family: var(--font-mono);
    font-weight: 700;
}
.disclaimer-btn:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
}
.modal-content {
    background: var(--bg-card);
    margin: 8% auto;
    padding: 2rem;
    border: 1px solid var(--border-medium);
    border-top: 3px solid var(--gold);
    width: 90%;
    max-width: 600px;
    position: relative;
}
.close {
    color: var(--text-muted);
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.close:hover { color: var(--gold); }

/* ===== NETWORK DIAGRAM ===== */
.network-node {
    background: var(--bg-evidence);
    border: 1px solid var(--border-medium);
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.network-node__name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.92rem;
    min-width: 120px;
}
.network-node__role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}
.network-connector {
    text-align: center;
    padding: 0.3rem 0;
    color: var(--gold-dim);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

/* ===== BOLD TEXT UTILITY ===== */
.text-bold { font-weight: 700; color: #ffffff; }
.text-red { color: var(--red-alert); }
.text-gold { color: var(--gold); }
.text-large { font-size: 1.1rem; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 48px;
        flex-direction: column;
        background: rgba(11, 14, 20, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
        gap: 0;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { margin: 0.3rem 0; }
    .nav-link { padding: 0.6rem 1rem; display: block; font-size: 0.78rem; }
    .case-meta { grid-template-columns: 1fr 1fr; }
    .subject-fields { grid-template-columns: 1fr; }
    .agency-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 2rem; }
    .timeline-entry { padding-left: 1rem; }
    .timeline-entry::before { left: -2.35rem; }
    .case-header { padding: 2.5rem 0 1.5rem; }
    .section { padding: 2.5rem 0; }
    .subject-card { padding: 1.2rem; }
    .scheme-card, .playbook-phase, .contact-card { padding: 1rem 1.2rem; }
    .red-flag { flex-direction: column; gap: 0.5rem; }
    .red-flag__number { min-width: auto; }
    .loss-summary__breakdown { gap: 1.5rem; }
    .pr-article { flex-direction: column; gap: 0.3rem; }
    .subject-card__header { flex-direction: column; gap: 0.5rem; }
    .wallet-table { font-size: 0.78rem; }
    .wallet-table th, .wallet-table td { padding: 0.4rem 0.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .case-meta { grid-template-columns: 1fr; }
    h2 { font-size: 1.2rem; }
    .loss-summary__amount { font-size: 2rem; }
}

/* ===== PRINT ===== */
@media print {
    * { background: transparent !important; color: black !important; box-shadow: none !important; }
    body { font-family: 'Georgia', serif; font-size: 10pt; line-height: 1.4; }
    .navbar, .disclaimer-btn, .nav-toggle, .contact-form, .modal { display: none !important; }
    .case-header { page-break-after: avoid; border-bottom: 2px solid #000 !important; }
    h1, h2, h3 { page-break-after: avoid; color: #000 !important; }
    h2 { border-left: 3px solid #000 !important; }
    .subject-card, .scheme-card, .playbook-phase { page-break-inside: avoid; border: 1px solid #ccc !important; }
    .timeline-entry { page-break-inside: avoid; }
    .section { padding: 0.75rem 0; border-bottom: 1px solid #ccc; }
    a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 8pt; }
    .stamp { border-width: 1px !important; }
}

@media (prefers-contrast: high) {
    body { background: #000000; color: #ffffff; }
    .subject-card, .scheme-card, .playbook-phase { border-color: #ffffff; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
}
