/* SCAM. — investigative newspaper system */

:root {
  --paper: #f3f0e9;
  --paper-secondary: #e8e3da;
  --surface: #faf9f6;

  --ink: #111111;
  --text-secondary: #4c4a46;
  --text-muted: #77736d;
  --border: #d1ccc3;

  --red: #d71920;
  --red-dark: #a90f14;
  --red-soft: #f4ddda;
  --amber: #9a5b00;
  --amber-soft: #fbf0dc;
  --pending: #3e5c6e;
  --pending-soft: #eaf0f4;
  --ok: #2e7d32;

  --dark: #101010;
  --on-dark: #f5f3ee;

  /* aliases used across components */
  --color-canvas: var(--paper);
  --color-paper: var(--paper-secondary);
  --color-ink: var(--ink);
  --color-ink-soft: var(--text-secondary);
  --color-muted: var(--text-muted);
  --color-line: var(--border);
  --color-line-strong: var(--ink);
  --color-danger: var(--red);
  --color-danger-soft: var(--red-soft);
  --color-stamp: var(--red);
  --color-stats: var(--paper-secondary);
  --color-warning-bg: var(--surface);

  --font-serif: "Libre Baskerville", "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", "IBM Plex Sans", "Segoe UI", sans-serif;

  --text-caption: 12px;
  --text-meta: 12px;
  --text-nav: 14px;
  --text-body: 17px;
  --text-lead: 17px;
  --text-h3: 18px;
  --text-h2: clamp(30px, 3.2vw, 42px);
  --text-display: clamp(40px, 5.5vw, 88px);

  --radius-btn: 2px;
  --max: 1920px;
  --gutter: clamp(20px, 3.5vw, 48px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
canvas {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo--sm {
  font-size: 15px;
}

.lang-switch {
  display: flex;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch--float {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 200;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.lang-btn {
  padding: 2px 0;
  color: var(--text-muted);
}

.lang-btn.is-active {
  color: var(--red);
  border-bottom: 1.5px solid var(--red);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: var(--text-nav);
  font-weight: 500;
}

.nav a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--color-ink);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--color-ink);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.btn-dark {
  background: var(--dark);
  color: var(--on-dark);
}

.btn-dark:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  font-size: 14px;
  line-height: 1;
}

.evidence-button {
  width: 337px;
  height: 66px;
  max-width: 100%;
  padding: 0 28px;
  margin-top: 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;

  color: #fff;
  border: 0;
  border-radius: 2px;

  background: linear-gradient(
    105deg,
    #b90f14 0%,
    #d71920 48%,
    #ee211e 100%
  );

  box-shadow:
    0 8px 24px rgba(169, 16, 20, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.evidence-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    0 10px 28px rgba(169, 16, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.evidence-button__arrow {
  font-size: 18px;
  line-height: 1;
}

/* Hero — paper texture + dossier collage */

.hero {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--paper);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../assets/hero-bg.webp") center / cover no-repeat;
  opacity: 0.92;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.22fr);
  gap: clamp(12px, 2.5vw, 40px);
  align-items: center;
  min-height: min(82vh, 860px);
  padding: 36px 0 24px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 28px 0 36px;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow-rule {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 84px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-transform: uppercase;
}

.hero-sub {
  margin-top: 18px;
  max-width: 18ch;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--red);
}

.hero-lead {
  max-width: 40ch;
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.case-numbers {
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: #292522;
  font-variant-numeric: tabular-nums;
}

.case-numbers strong {
  font-size: 17px;
  font-weight: 600;
}

.hero-topics {
  position: absolute;
  z-index: 4;
  right: clamp(8px, 3vw, 28px);
  bottom: clamp(8px, 2.2vw, 20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  width: min(92%, 604px);
  margin: 0;
  padding: 6px 8px;
  background: #fff;
  border: 2.083px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.category {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 4px 10px;
}

.category:nth-child(even) {
  border-left: 1px solid #cec6ba;
}

.category-icon {
  display: block;
  flex: 0 0 auto;
  width: 39.578px;
  height: 39.578px;
}

.category-title {
  font-family: "Libre Baskerville", serif;
  font-size: 16.666px;
  font-weight: 700;
  line-height: 20.832px;
  color: #171513;
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-right: calc((100vw - min(100vw, var(--max))) / -2 - var(--gutter));
  margin-left: -56px;
  min-width: 0;
  align-self: end;
}

.hero-visual__frame {
  position: relative;
  width: 100%;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

/* Stats — newspaper strip under hero */

.stats {
  position: relative;
  z-index: 2;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(243, 240, 233, 0.72), rgba(232, 227, 218, 0.92)),
    url("../assets/hero-bg.webp") center / cover no-repeat;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  min-height: 122px;
  overflow: visible;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 20px 18px;
  border-right: 1px solid var(--border);
  overflow: visible;
}

.stat:first-child {
  padding-left: 0;
}

.stat-sticker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: calc(100% - 8px);
  padding: 4px 6px;
  background: #fff;
  border: 2px solid #000;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.24;
  color: #000;
  white-space: nowrap;
  transform: rotate(-3.46deg);
  transform-origin: left center;
}

.stat:first-child .stat-sticker {
  margin-left: -2px;
}

.stat-value {
  margin: 0;
  padding-top: 2px;
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

.stat-value--accent {
  color: var(--red);
}

.stats-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-left: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.stats-more-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: background 0.15s ease, color 0.15s ease;
}

.stats-more:hover .stats-more-icon {
  background: var(--dark);
  color: var(--on-dark);
}

/* Shared paper zone after hero */

.page-body {
  position: relative;
  background:
    linear-gradient(180deg, rgba(243, 240, 233, 0.88), rgba(243, 240, 233, 0.94)),
    url("../assets/hero-bg.webp") top center / 1400px auto repeat;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.section-label__rule {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

/* Dossier */

.dossier {
  padding: 72px 0 64px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.dossier-main,
.debts {
  min-width: 0;
  max-width: 100%;
}

.profile-photo {
  position: relative;
  width: 100%;
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid #cfc8bc;
  box-shadow:
    0 10px 28px rgba(23, 21, 19, 0.08),
    6px 6px 0 rgba(209, 204, 195, 0.7);
  transform: rotate(-1.2deg);
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(0.12) contrast(1.05);
}

.tape {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -8px;
  width: 72px;
  height: 18px;
  transform: translateX(-50%) rotate(-4deg);
}

.tape--red {
  background: rgba(215, 25, 32, 0.72);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.profile {
  min-width: 0;
}

.profile .section-label,
.profile h2,
.profile-bio {
  padding-inline: 2px 8px;
}

.profile h2 {
  font-size: clamp(32px, 3vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.profile-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.profile-facts {
  margin: 0;
  padding: 2px 16px 6px;
  border: 1px solid var(--border);
  border-top: 2px solid var(--ink);
  background: rgba(250, 249, 246, 0.7);
}

.profile-facts > div {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.profile-facts > div:last-child {
  border-bottom: 0;
}

.profile-facts dt {
  color: var(--text-muted);
  font-weight: 500;
}

.profile-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.status-bad {
  color: var(--red);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.section-head h2 {
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.link-all {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}

.link-all:hover {
  color: var(--red);
  border-color: var(--red);
}

.debt-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  border-left: 3px solid transparent;
}

.case.confirmed {
  border-left-color: var(--red);
}

.case.partial {
  border-left-color: var(--amber);
}

.case.potential {
  border-left-color: #b9b3a7;
}

.case.pending {
  border-left-color: #7a8b99;
}

.case-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 20px;
  padding: 28px 32px 24px;
  align-items: start;
}

.case-idx {
  font: 600 14px/1 var(--font-sans);
  color: var(--red);
  padding-top: 9px;
  font-variant-numeric: tabular-nums;
}

.case-title {
  margin: 0;
  font: 700 28px/1.15 var(--font-serif);
  letter-spacing: -0.01em;
}

.case-origin {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.case-amount {
  text-align: right;
}

.case-amount__label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.case-amount__value {
  font: 600 32px/1 var(--font-sans);
  color: var(--red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.case-amount__approx {
  font-weight: 500;
  margin-right: 2px;
  color: inherit;
}

.case-amount__cur {
  font-size: 17px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--red);
}

.case-amount__note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-status-wrap {
  grid-column: 2 / 4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 10px;
}

.case-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
}

.case-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.case-status--muted {
  background: #f1eee6;
  color: var(--text-muted);
}

.case-status--pending {
  background: var(--pending-soft);
  color: var(--pending);
}

.case-status-detail {
  font-size: 13px;
  color: var(--text-muted);
}

.debt-map-wrap {
  margin-bottom: 28px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-top: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.debt-map-wrap.table-wrap {
  border-top: 0;
}

.case > .table-wrap + .table-wrap {
  border-top: 0;
}

.debt-map,
.facts-table,
.loans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.debt-map {
  min-width: 720px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.debt-map th,
.debt-map td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.debt-map thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f1eee6;
  white-space: nowrap;
}

.debt-map tbody td:first-child {
  font-weight: 700;
  color: var(--red);
  width: 2.5rem;
}

.debt-map a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.debt-map a:hover {
  color: var(--red);
  border-color: var(--red);
}

.debt-map tbody tr:last-child td {
  border-bottom: 0;
}

.case-lead {
  margin: 0;
  padding: 16px 32px 4px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.facts-table th,
.facts-table td {
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
  border-bottom: 0;
}

.facts-table th {
  width: 34%;
  max-width: 220px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(241, 238, 230, 0.55);
}

.facts-table td {
  font-size: 14px;
  color: var(--ink);
}

.loans-table {
  min-width: 520px;
}

.loans-table th,
.loans-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.loans-table thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f1eee6;
}

.loans-table td:nth-child(3),
.loans-table td:nth-child(4),
.loans-table th:nth-child(3),
.loans-table th:nth-child(4) {
  text-align: right;
  white-space: nowrap;
}

.loans-table__total th,
.loans-table__total td {
  font-weight: 700;
  color: var(--ink);
  background: rgba(244, 221, 218, 0.35);
  border-bottom: 0;
}

.case-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 18px 32px;
  border-top: 1px solid var(--border);
  background: #f9f7f2;
  border-radius: 0 0 6px 6px;
}

.case-ref {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-ref dt {
  font-size: 12px;
  color: var(--text-muted);
}

.case-ref dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.case-copy {
  border: 0;
  background: none;
  padding: 4px;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
}

.case-copy:hover {
  background: var(--border);
  color: var(--ink);
}

.case-copy:focus-visible,
.case-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.case-copy.ok {
  color: var(--ok);
}

.case-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.case-link:hover {
  background: var(--ink);
  color: var(--surface);
}

.profile-facts a {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.profile-facts a:hover {
  color: var(--red);
  border-color: var(--red);
}

.timeline {
  margin-top: 42px;
  padding-top: 8px;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 1.818px solid rgba(215, 25, 32, 0.28);
}

.timeline-list li {
  position: relative;
  padding: 0 0 24px 20px;
}

.timeline-list li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: #d71920;
  box-shadow: 0 0 0 3px rgba(243, 240, 233, 0.95);
}

.timeline-list time {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 19.8px;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  color: #d71920;
  font-variant-numeric: tabular-nums;
}

.timeline-list p {
  margin-top: 5px;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 23.25px;
  color: #101010;
}

.warning-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: start;
  box-sizing: border-box;
  width: min(100% - (var(--gutter) * 2), var(--max));
  max-width: 100%;
  margin: 36px auto 0;
  background: var(--surface);
  border: 1px solid #d4b4af;
  box-shadow:
    0 10px 28px rgba(169, 15, 20, 0.08),
    inset 0 3px 0 var(--red);
  padding: 22px 28px;
}

.warning-panel__icon {
  padding-top: 2px;
}

.warning-panel__copy h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}

.warning-panel__copy p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 72ch;
}

.warning-contacts {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 1px dashed var(--border);
  font-size: 13px;
  font-weight: 600;
  align-self: center;
}

.warning-contacts li {
  margin-bottom: 6px;
}

.warning-contacts li:last-child {
  margin-bottom: 0;
}

.warning-contacts a {
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.warning-contacts a:hover {
  color: var(--red);
  border-color: var(--red);
}

.warning-panel .btn-dark {
  background: linear-gradient(105deg, #b90f14 0%, #d71920 48%, #ee211e 100%);
  border: 0;
  color: #fff;
}

/* Evidence registry links */

.evidence-docs {
  padding: 28px 0 72px;
}

.evidence-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.evidence-links a {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid #cfc8bc;
  box-shadow: 0 8px 20px rgba(23, 21, 19, 0.05);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.evidence-links a:nth-child(odd) {
  transform: rotate(-0.3deg);
}

.evidence-links a:nth-child(even) {
  transform: rotate(0.35deg);
}

.evidence-links a:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.evidence-links__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.evidence-links strong {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

/* Evidence docs ends page body */


/* Motion */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 0.7s ease both;
  }

  .hero-visual {
    animation: rise 0.85s 0.12s ease both;
  }

  .stats .stat {
    animation: rise 0.5s ease both;
  }

  .stats .stat:nth-child(1) { animation-delay: 0.05s; }
  .stats .stat:nth-child(2) { animation-delay: 0.12s; }
  .stats .stat:nth-child(3) { animation-delay: 0.19s; }
  .stats .stat:nth-child(4) { animation-delay: 0.26s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 980px) {
  body {
    overflow-x: clip;
  }

  .page-body,
  .dossier,
  .container,
  .dossier-grid,
  .dossier-main,
  .debts {
    min-width: 0;
    max-width: 100%;
  }

  .header-inner {
    grid-template-columns: auto auto 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
  }

  .site-header.is-open .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-layout,
  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .warning-panel {
    grid-template-columns: auto minmax(0, 1fr);
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-inline: auto;
    padding: 18px 16px;
  }

  .warning-contacts {
    grid-column: 1 / -1;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px dashed var(--border);
  }

  .debt-map {
    min-width: 640px;
    font-size: 13px;
  }

  .debt-map th,
  .debt-map td {
    padding: 10px 10px;
  }

  .case-amount__value {
    white-space: normal;
  }

  .stat-value {
    white-space: normal;
  }

  .case,
  .evidence-links a,
  .evidence-links a:nth-child(odd),
  .evidence-links a:nth-child(even) {
    transform: none;
  }

  .hero-layout {
    min-height: 0;
    padding-top: 12px;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    margin: 0 auto 8px;
    display: flex;
    justify-content: center;
    align-self: center;
  }

  .hero-visual__frame {
    width: min(100%, 680px);
  }

  .hero-banner {
    width: 100%;
    margin-inline: auto;
    object-fit: contain;
    object-position: center center;
  }

  .hero-topics {
    right: 8px;
    left: 8px;
    bottom: 8px;
    width: auto;
    max-width: calc(100% - 16px);
    transform: none;
    box-sizing: border-box;
  }

  .category {
    gap: 8px;
    min-height: 40px;
    padding: 4px 6px;
  }

  .category-icon {
    width: 28px;
    height: 28px;
  }

  .case-numbers {
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
  }

  .hero-copy {
    max-width: none;
    padding: 8px 0 36px;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(38px, 7vw, 52px);
  }

  .hero-sub {
    max-width: 22ch;
    font-size: clamp(26px, 3.5vw, 30px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .category-title {
    font-size: 14px;
    line-height: 18px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 22px 16px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .stat:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat:first-child {
    padding-left: 16px;
  }

  .stat-sticker {
    font-size: 14px;
    white-space: normal;
  }

  .stat-value {
    white-space: normal;
  }

  .stats-more {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    padding: 14px 0;
  }

  .header-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 760px) {
  .case-head {
    grid-template-columns: auto 1fr;
    padding: 22px 20px;
  }

  .case-amount {
    grid-column: 1 / 3;
    text-align: left;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
  }

  .case-status-wrap {
    grid-column: 1 / 3;
  }

  .case-title {
    font-size: 22px;
  }

  .case-amount__value {
    font-size: 26px;
    white-space: normal;
  }

  .case-foot {
    padding: 16px 20px;
  }

  .case-link {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .facts-table th,
  .facts-table td {
    padding: 10px 16px;
  }

  .facts-table th {
    width: 40%;
  }

  .case-lead {
    padding: 14px 20px 4px;
  }

  .loans-table th,
  .loans-table td {
    padding: 8px 12px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .evidence-links {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(38px, 9.5vw, 42px);
    line-height: 1.02;
  }

  .hero-sub {
    font-size: clamp(26px, 6.5vw, 30px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-banner {
    width: min(100%, 520px);
  }

  .evidence-button {
    width: 100%;
  }
}

@media (min-width: 981px) and (max-width: 1279px) {
  .hero h1 {
    font-size: clamp(44px, 4.8vw, 64px);
  }

  .hero-sub {
    font-size: clamp(26px, 2.4vw, 32px);
  }

  .hero-visual {
    margin-left: -28px;
  }
}

@media (min-width: 1280px) and (max-width: 1440px) {
  .hero-layout {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.4fr);
    align-items: start;
    min-height: min(84vh, 820px);
    padding-top: 12px;
  }

  .hero-copy {
    padding-top: 48px;
  }

  .hero-visual {
    margin-left: -72px;
    margin-right: calc((100vw - min(100vw, var(--max))) / -2 - var(--gutter) - 24px);
    margin-top: -28px;
    align-self: start;
    width: calc(100% + 96px);
    max-width: none;
  }

  .hero-banner {
    width: 118%;
    max-width: none;
    transform: translateY(-18px);
  }

  .hero h1 {
    font-size: clamp(48px, 4.6vw, 68px);
  }
}
