/* ==========================================================================
   Fieldnotes — the lab notebook
   Content sits on faint graph paper. Figures are the loud element: they get a
   pencil-blue frame and a numbered-feeling caption rule, because a notebook is
   organised around what was observed, not around headings.
   ========================================================================== */

body.variation-fieldnotes {
	--color-page: #f6f5f1;
	--color-raised: #eceae3;
	--color-ink: #22252b;
	--color-ink-muted: #5f646d;
	--color-rule: #d5d8d1;
	--color-accent: #3c6e8f;
	--color-accent-ink: #f6f5f1;
	--color-link: #3c6e8f;
	--color-link-hover: #b3453a;
	--color-mark: #cfe3ee;

	--font-display: "Space Grotesk", system-ui, sans-serif;
	--font-body: "Literata", Georgia, serif;
	--weight-display: 700;
	--weight-strong: 600;

	--measure: 70ch;
	--leading-body: 1.7;
	--radius: 0px;
	--radius-lg: 0px;
	--rule-width: 1px;
}

/* Graph paper, only behind the masthead so long reading stays on plain paper. */
.variation-fieldnotes .site-header {
	background-color: #f6f5f1;
	background-image:
		linear-gradient(to right, #e3e6e0 1px, transparent 1px),
		linear-gradient(to bottom, #e3e6e0 1px, transparent 1px);
	background-size: 1.5rem 1.5rem;
	border-bottom: 2px solid #22252b;
}

.variation-fieldnotes .site-identity {
	background-color: #f6f5f1;
	padding-right: var(--space-m);
}

.variation-fieldnotes .site-title {
	letter-spacing: -0.03em;
	font-size: var(--step-2);
}

.variation-fieldnotes .entry-title,
.variation-fieldnotes .page-title {
	letter-spacing: -0.03em;
}

.variation-fieldnotes .entry-content > h2 {
	font-size: var(--step-2);
	letter-spacing: -0.02em;
}

.variation-fieldnotes .entry-content > h2::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 3px;
	background-color: #3c6e8f;
	margin-bottom: var(--space-s);
}

/* Figures are the notebook's real content. */
.variation-fieldnotes .entry-figure,
.variation-fieldnotes .entry-content figure {
	border: 1px solid #c9cdc6;
	padding: var(--space-xs);
	background-color: #fdfdfb;
}

.variation-fieldnotes figcaption,
.variation-fieldnotes .wp-caption-text {
	font-family: var(--font-display);
	font-size: 0.82rem;
	border-top: 1px solid #c9cdc6;
	margin-top: var(--space-xs);
	padding: var(--space-xs) var(--space-2xs) 0;
	color: #3c6e8f;
}

.variation-fieldnotes .toc {
	border: 1px solid #c9cdc6;
	background-color: #fdfdfb;
}

.variation-fieldnotes .toc__heading {
	font-family: var(--font-display);
	letter-spacing: -0.01em;
}

.variation-fieldnotes a:hover {
	text-decoration-color: #b3453a;
	text-decoration-thickness: 2px;
}

.variation-fieldnotes blockquote {
	border-left-color: #b3453a;
	font-style: normal;
}

.variation-fieldnotes .entry-meta {
	font-family: var(--font-display);
	font-size: 0.82rem;
}
