/* ============================================================
   ANOKA FLOCK WATCH — one dollar under the line
   Design: dark "public record" dossier. Red = the line you
   stepped under. Amber = the warning. Mono = the data.
   ============================================================ */

:root {
	--ink: #0b0d12; /* near-black */
	--ink-2: #11141c;
	--ink-3: #171b26;
	--paper: #f2efe8; /* warm off-white */
	--paper-dim: #d8d4c8;
	--red: #d9272f; /* the line */
	--red-dark: #a3121b;
	--amber: #f2a51a; /* warning */
	--muted: #9aa0b3;
	--line: #262b3a; /* hairline on dark */
	--line-soft: rgba(242, 239, 232, 0.14);
	--maxw: 1080px;
	--mono:
		"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--sans:
		"Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Archivo", "Public Sans", system-ui, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	background: var(--ink);
	color: var(--paper);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--red);
	color: #fff;
}

a {
	color: #ffb3b6;
	text-decoration-color: rgba(255, 179, 182, 0.5);
	text-underline-offset: 3px;
}
a:hover {
	color: #ffd9da;
}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--red);
	color: #fff;
	padding: 10px 16px;
	font-family: var(--mono);
	font-size: 13px;
}
.skip-link:focus {
	left: 8px;
	top: 8px;
}

/* ---------- top bar ---------- */
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(11, 13, 18, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.topbar-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 64px;
	flex-wrap: wrap;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--paper);
}
.brand-mark {
	font-family: var(--mono);
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	background: var(--red);
	padding: 6px 9px;
	border-radius: 6px;
	line-height: 1;
}
.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}
.brand-text strong {
	font-family: var(--display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.02em;
}
.brand-text em {
	font-style: normal;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
}

.topnav {
	display: flex;
	gap: 16px;
	margin-left: auto;
	flex-wrap: wrap;
}
.topnav a {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--paper-dim);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
}
.topnav a:hover {
	color: #fff;
	border-bottom-color: var(--red);
}

.topbar-ticker {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 8px;
	line-height: 1.2;
}
.ticker-label {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}
.ticker-days {
	font-family: var(--mono);
	font-weight: 700;
	font-size: 20px;
	color: var(--amber);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
	padding: 88px 0 72px;
	position: relative;
	overflow: hidden;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(
			600px 300px at 85% -10%,
			rgba(217, 39, 47, 0.14),
			transparent 70%
		),
		radial-gradient(
			500px 260px at -10% 110%,
			rgba(242, 165, 26, 0.08),
			transparent 70%
		);
	pointer-events: none;
}
.hero .wrap {
	position: relative;
}

/* the photo that leads the page — frame it like a case-file exhibit */
.hero-photo {
	margin: 0 0 36px;
}
.hero-photo picture,
.hero-photo img {
	display: block;
	width: 100%;
	height: auto;
}
.hero-photo img {
	max-width: 720px;
	margin: 0 auto;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-photo figcaption {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	text-align: center;
	margin-top: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.hero-photo figcaption::before {
	content: "▮ ";
	color: var(--red);
}

.kicker {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 22px;
}
.kicker::before {
	content: "▮ ";
	color: var(--red);
}

.hero-title {
	font-family: var(--display);
	font-weight: 900;
	font-size: clamp(44px, 9vw, 108px);
	line-height: 0.95;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	margin-bottom: 30px;
}
.hero-title .accent {
	color: var(--red);
}

.hero-lede {
	font-size: clamp(18px, 2.4vw, 23px);
	max-width: 46rem;
	font-weight: 500;
	line-height: 1.5;
	margin-bottom: 16px;
}
.hero-lede strong {
	color: #fff;
}
.hero-sub {
	color: var(--paper-dim);
	max-width: 40rem;
	margin-bottom: 30px;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 26px;
}

.btn {
	display: inline-block;
	font-family: var(--display);
	font-weight: 700;
	font-size: 15px;
	padding: 13px 22px;
	border-radius: 8px;
	text-decoration: none;
	letter-spacing: 0.01em;
	transition:
		transform 0.08s ease,
		box-shadow 0.08s ease,
		background 0.15s ease;
}
.btn:active {
	transform: translateY(1px);
}
.btn-solid {
	background: var(--red);
	color: #fff;
	box-shadow: 0 6px 0 var(--red-dark);
}
.btn-solid:hover {
	background: #e33a42;
	color: #fff;
}
.btn-ghost {
	border: 1px solid var(--line-soft);
	color: var(--paper);
	background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
	border-color: var(--red);
	color: #fff;
}

.hero-note {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	max-width: 40rem;
	line-height: 1.5;
	border-left: 2px solid var(--line);
	padding-left: 12px;
}

/* ---------- sections ---------- */
.section {
	padding: 76px 0;
}
.section-alt {
	background: var(--ink-2);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.section-head {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-bottom: 44px;
}
.section-no {
	font-family: var(--mono);
	font-weight: 700;
	font-size: 14px;
	color: var(--red);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 7px 10px;
	white-space: nowrap;
	margin-top: 4px;
}
.section-head h2 {
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin-bottom: 10px;
}
.section-sub {
	color: var(--muted);
	max-width: 40rem;
}

.subhead {
	font-family: var(--display);
	font-weight: 700;
	font-size: 20px;
	margin: 40px 0 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.subhead::before {
	content: "—";
	color: var(--red);
	font-family: var(--mono);
}

.body-copy {
	color: var(--paper-dim);
	max-width: 46rem;
	margin-bottom: 16px;
}
.body-copy strong {
	color: #fff;
}

/* ---------- stat grids ---------- */
.stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 44px;
}
.stat {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 3px solid var(--red);
}
.stat-num {
	font-family: var(--display);
	font-weight: 900;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.stat-label {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.45;
}

.stat-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 34px;
}
.stat-inline {
	border-top-color: var(--amber);
}

/* ---------- quotes ---------- */
.quote-block {
	border-left: 3px solid var(--red);
	padding: 6px 0 6px 22px;
	margin: 26px 0;
	max-width: 52rem;
}
.quote-block blockquote {
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(17px, 2.2vw, 21px);
	line-height: 1.45;
	color: var(--paper);
}
.quote-src {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	margin-top: 10px;
}

/* ---------- timeline ---------- */
.timeline {
	list-style: none;
	counter-reset: tl;
	margin: 8px 0 40px;
	max-width: 52rem;
}
.timeline li {
	position: relative;
	padding: 0 0 26px 40px;
	border-left: 1px solid var(--line);
	margin-left: 10px;
	counter-increment: tl;
}
.timeline li::before {
	content: counter(tl, decimal-leading-zero);
	position: absolute;
	left: -14px;
	top: 0;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--ink);
	border: 1px solid var(--line);
	color: var(--red);
	font-family: var(--mono);
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.timeline li:last-child {
	border-left-color: transparent;
	padding-bottom: 0;
}
.tl-date {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--amber);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 4px;
}
.timeline p {
	color: var(--paper-dim);
}
.timeline p strong {
	color: #fff;
}

/* ---------- note boxes ---------- */
.note-box {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-left: 3px solid var(--red);
	border-radius: 8px;
	padding: 18px 20px;
	margin: 30px 0;
	color: var(--paper-dim);
	max-width: 52rem;
}
.note-box strong {
	color: #fff;
}
.note-box-amber {
	border-left-color: var(--amber);
}

/* ---------- two columns ---------- */
.cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px;
}
.col h3 {
	margin-top: 0;
}

.plain-list {
	list-style: none;
	margin-bottom: 20px;
}
.plain-list li {
	position: relative;
	padding: 0 0 14px 26px;
	color: var(--paper-dim);
}
.plain-list li::before {
	content: "▸";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--red);
	font-family: var(--mono);
}
.plain-list li strong {
	color: #fff;
}

/* ---------- portal data ---------- */
.portal-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 12px;
}
.portal-stat {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px;
	border-top: 3px solid var(--amber);
}
.portal-stat .stat-num {
	font-size: clamp(24px, 3.4vw, 34px);
}
.portal-foot {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	margin: 14px 0 40px;
}

/* ---------- counter hero ---------- */
.counter-hero {
	text-align: center;
	padding: 40px 20px 46px;
	margin-bottom: 30px;
	background:
		linear-gradient(180deg, rgba(217, 39, 47, 0.1), rgba(217, 39, 47, 0.02)),
		var(--ink-3);
	border: 1px solid var(--line);
	border-radius: 14px;
	position: relative;
	overflow: hidden;
}
.counter-hero::after {
	content: "AUDIT PENDING";
	position: absolute;
	right: -14px;
	top: 22px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--red);
	transform: rotate(-90deg);
	opacity: 0.6;
}
.counter-days {
	font-family: var(--display);
	font-weight: 900;
	font-size: clamp(64px, 14vw, 150px);
	line-height: 1;
	color: var(--amber);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}
.counter-caption {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(16px, 2.2vw, 20px);
	margin-top: 8px;
}
.counter-sub {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	margin-top: 14px;
}

/* ---------- pushback cards ---------- */
.pushback-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 30px;
}
.pushback-card {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pushback-card h3 {
	font-family: var(--display);
	font-weight: 800;
	font-size: 19px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.pushback-card p {
	color: var(--paper-dim);
	font-size: 15px;
}
.pushback-card p strong {
	color: #fff;
}
.tag {
	font-family: var(--mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid var(--line);
	color: var(--muted);
	padding: 3px 7px;
	border-radius: 4px;
}
.tag-anoka {
	color: var(--amber);
	border-color: rgba(242, 165, 26, 0.4);
}
.card-src {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	margin-top: auto;
}

/* ---------- research grid ---------- */
.research-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.research-card {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px 20px;
	text-decoration: none;
	color: var(--paper);
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition:
		border-color 0.15s ease,
		transform 0.08s ease;
}
.research-card:hover {
	border-color: var(--red);
	transform: translateY(-1px);
	color: #fff;
}
.research-card strong {
	font-family: var(--display);
	font-weight: 700;
}
.research-card span {
	font-size: 13.5px;
	color: var(--muted);
}

/* ---------- sources ---------- */
.sources-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 30px;
	max-width: 52rem;
}
.source-item {
	background: var(--ink-3);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.source-item .src-head {
	display: flex;
	gap: 10px;
	align-items: baseline;
	flex-wrap: wrap;
}
.source-item .src-title {
	font-weight: 700;
	color: #fff;
}
.source-item .src-outlet {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--amber);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.source-item .src-date {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
}
.source-item p {
	font-size: 13.5px;
	color: var(--paper-dim);
}
.source-item a {
	font-size: 13px;
}
.doc-item {
	border-left: 3px solid var(--amber);
}

/* ---------- footer ---------- */
.footer {
	border-top: 1px solid var(--line);
	padding: 40px 0 56px;
	background: var(--ink-2);
}
.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.footer-note {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
	max-width: 52rem;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
	.stat-grid,
	.stat-row,
	.portal-grid,
	.cols,
	.pushback-grid,
	.research-grid {
		grid-template-columns: 1fr;
	}
	.topnav {
		order: 3;
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
		overflow-x: auto;
	}
	.topbar-ticker {
		margin-left: auto;
	}
	.hero {
		padding: 56px 0 48px;
	}
	.section {
		padding: 56px 0;
	}
}

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