/* ══════════════════════════════════════════════════════════════════════
   SURFACES — the reading layer.

   This sheet is the classic theme's component CSS, carried over on purpose.

   Twenty-four thousand guide pages, 538 crop hubs, the Atlas, the seasonal
   clock, the comparison radar, the calculators and the marketplace already
   read well, and their markup is emitted by inc/template-tags.php,
   inc/crop-card.php and inc/crop-hub.php — the same files eleven an-* plugins
   call into. Rewriting all of it to new class names would have bought a
   different set of bugs and no new capability.

   What has been removed from it: the left rail, the top bar, the hero, the
   footer, the mobile tab bar and the "start here" / ask / this-month blocks.
   Every one of those is replaced by the OS frame in os.css, and leaving two
   definitions of a shell in one theme is how a stylesheet starts fighting
   itself.

   The first block is a token bridge: this sheet was written against an older
   set of variable names, and they are re-pointed at the --an-* tokens rather
   than duplicated. Those --an-* names are a public API — module stylesheets
   reference --an-text-2 sixty times, --an-line forty-five — so they are added
   to and never renamed.
   ══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   Components + token bridge.

   The v2 stylesheet (app.css) was written against an older set of
   variable names. Rather than rewrite ~700 lines and risk breaking
   working layout, those names are re-pointed at the design tokens
   here. One place to look, no duplicated values, and the whole
   sheet inherits IBM Plex, the new palette and theme switching.
   ══════════════════════════════════════════════════════════════ */

:root {
	--bg:       var(--an-bg);
	--page:     var(--an-bg);
	--surface:  var(--an-surface);
	--card:     var(--an-surface);
	--raised:   var(--an-surface);
	--sunk:     var(--an-sunk);
	--line:     var(--an-line);
	--line-2:   var(--an-line-soft);
	--rule:     var(--an-line);
	--rule-2:   var(--an-line-soft);

	--ink:      var(--an-text);
	--ink-2:    var(--an-text-2);
	--ink-3:    var(--an-text-3);

	--ember:    var(--an-accent);
	--brand:    var(--an-accent);
	--on-brand: #fff;
	--shoot:    var(--an-primary);
	--live:     var(--an-primary);

	--chrome:   var(--an-chrome);
	--glass:    color-mix(in srgb, var(--an-text) 5%, transparent);
	--elev-s:   var(--an-shadow-1);
	--elev-m:   var(--an-shadow-2);
	--shadow:   var(--an-shadow-1);

	--f-ui: var(--an-font-ui);
	--f-ed: var(--an-font-editorial);
	--f-mo: var(--an-font-mono);

	--rail: var(--an-rail);
	--pad:  var(--an-gutter);
}

body.an-app { font-size: var(--an-t-body); line-height: var(--an-lh-body); }

/* ══ 1. MARKETPLACE IMAGERY ════════════════════════════════════
   The product must never be cropped. Cards keep one consistent
   outer shape, but the photograph is contained inside a generous
   neutral canvas that fills ~58% of the card. Different aspect
   ratios coexist without the grid going ragged. */

.an-prod .an-ph {
	height: auto;
	aspect-ratio: 4 / 3;
	min-height: 210px;
	background-color: var(--an-canvas);
	background-size: contain;          /* never crop the product */
	background-repeat: no-repeat;
	background-position: center;
	border-bottom: 1px solid var(--an-line-soft);
	padding: var(--an-space-3);
}
/* The gradient fallback should still fill, not sit as a tiny tile. */
.an-prod .an-ph.no-img { background-size: cover; }

@media (max-width: 720px) {
	.an-prod .an-ph { aspect-ratio: 1 / 1; min-height: 170px; }
}

.an-prod { background: var(--an-surface); }
.an-prod-b { padding: var(--an-space-4) var(--an-space-4) var(--an-space-4); gap: var(--an-space-2); }
.an-prod-t {
	font-size: 0.9375rem; font-weight: 500; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Marketplace grids breathe more than editorial ones. */
.an-prod-d {
	font-size: 0.8125rem; line-height: 1.45; color: var(--an-text-2);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ── marketplace search + facets ────────────────────────────── */
.an-shop-bar {
	display: flex; gap: var(--an-space-3); flex-wrap: wrap;
	align-items: center; padding: 0 var(--an-gutter) var(--an-space-4);
}
.an-shop-search {
	display: flex; align-items: center; gap: var(--an-space-2);
	flex: 1; min-width: min(320px, 100%);
	background: var(--an-surface); border: 1px solid var(--an-line);
	border-radius: var(--an-radius-md); padding: 10px 14px; color: var(--an-text-3);
	box-shadow: var(--an-shadow-1);
}
.an-shop-search input {
	flex: 1; min-width: 0; border: 0; background: none; font: inherit;
	font-size: 0.9375rem; color: var(--an-text); padding: 0;
}
.an-shop-search input:focus { outline: none; }
.an-shop-search:focus-within { border-color: var(--an-primary); }
.an-shop-count {
	font-family: var(--an-font-mono); font-size: 0.75rem; color: var(--an-text-3);
	font-variant-numeric: tabular-nums; white-space: nowrap;
}
.an-affiliate {
	margin: 0 var(--an-gutter) var(--an-space-5);
	padding: var(--an-space-3) var(--an-space-4);
	border: 1px solid var(--an-line); border-left: 3px solid var(--an-accent);
	border-radius: var(--an-radius-sm); background: var(--an-surface);
	font-size: 0.8125rem; color: var(--an-text-2); max-width: 90ch;
}

.an-prods { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--an-space-4); }

/* ══ 2. THEME SWITCHER ═════════════════════════════════════════ */
.an-theme {
	display: inline-flex; align-items: center; gap: 2px;
	background: var(--an-sunk); border: 1px solid var(--an-line);
	border-radius: 999px; padding: 3px;
}
.an-theme button {
	display: grid; place-items: center;
	width: 30px; height: 26px; border: 0; border-radius: 999px;
	background: transparent; color: var(--an-text-3);
	cursor: pointer; font: inherit; transition: background var(--an-fast) var(--an-ease), color var(--an-fast) var(--an-ease);
}
.an-theme button svg { width: 15px; height: 15px; }
.an-theme button:hover { color: var(--an-text); }
.an-theme button[aria-pressed="true"] {
	background: var(--an-surface); color: var(--an-text);
	box-shadow: var(--an-shadow-1);
}

/* ══ 3. EDITORIAL / MAGAZINE ═══════════════════════════════════ */
.an-eyebrow {
	display: block; font-family: var(--an-font-mono); font-size: 0.6875rem;
	letter-spacing: .16em; text-transform: uppercase; color: var(--an-text-3);
	margin-bottom: var(--an-space-2);
}

/* Asymmetric editorial grid — sections should not all look alike. */
.an-grid { display: grid; gap: var(--an-space-5); }
.an-grid-8-4  { grid-template-columns: 2fr 1fr; }
.an-grid-7-5  { grid-template-columns: 1.4fr 1fr; }
.an-grid-3-6-3{ grid-template-columns: 1fr 2fr 1fr; }
.an-grid-4    { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
	.an-grid-8-4, .an-grid-7-5, .an-grid-3-6-3 { grid-template-columns: 1fr; }
	.an-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) { .an-grid-4 { grid-template-columns: 1fr; } }

/* Editorial headings pick up the serif; UI chrome stays sans. */
.an-sec-h h2, .an-cathero h1, .an-art-t, .an-feat-t,
.an-wing-n, .an-hero h1, .an-crops-head h2 {
	font-family: var(--an-font-editorial);
}
.an-prose { font-family: var(--an-font-editorial); max-width: var(--an-measure); }
.an-prose h2, .an-prose h3, .an-prose h4 { font-family: var(--an-font-editorial); }

/* ══ 4. CROP INTELLIGENCE ══════════════════════════════════════ */
.an-crops {
	padding: var(--an-space-8) var(--an-gutter);
	border-top: 1px solid var(--an-line-soft);
	background: var(--an-surface-2);
}
.an-crops-head {
	display: flex; align-items: flex-end; gap: var(--an-space-6);
	flex-wrap: wrap; margin-bottom: var(--an-space-5);
}
.an-crops-head h2 {
	font-size: var(--an-t-h3); font-weight: 400; line-height: var(--an-lh-snug);
	letter-spacing: -.02em; margin: 0;
}
.an-crops-head p {
	margin: var(--an-space-2) 0 0; color: var(--an-text-2);
	font-size: 0.9375rem; max-width: 62ch;
}
.an-crops-search {
	margin-inline-start: auto; display: flex; align-items: center; gap: var(--an-space-2);
	background: var(--an-surface); border: 1px solid var(--an-line);
	border-radius: var(--an-radius-md); padding: 10px 14px;
	min-width: min(320px, 100%); color: var(--an-text-3);
}
.an-crops-search input {
	flex: 1; min-width: 0; border: 0; background: none; font: inherit;
	font-size: 0.9375rem; color: var(--an-text); padding: 0;
}
.an-crops-search input:focus { outline: none; }
.an-crops-search:focus-within { border-color: var(--an-primary); }

.an-crops-filters {
	display: flex; gap: var(--an-space-2); flex-wrap: wrap;
	align-items: center; margin-bottom: var(--an-space-4);
}
.an-chip {
	font: inherit; font-size: 0.8125rem; cursor: pointer;
	background: var(--an-surface); color: var(--an-text-2);
	border: 1px solid var(--an-line); border-radius: 999px;
	padding: 6px 13px; transition: all var(--an-fast) var(--an-ease);
}
.an-chip:hover { border-color: var(--an-primary); color: var(--an-text); }
.an-chip.is-on {
	background: var(--an-primary); border-color: var(--an-primary);
	color: var(--an-primary-c); font-weight: 500;
}
.an-chip-n {
	display: inline-block; margin-inline-start: 6px;
	font-family: var(--an-font-mono); font-size: 0.6875rem;
	color: var(--an-text-3); font-variant-numeric: tabular-nums;
}
.an-chip.is-on .an-chip-n { color: var(--an-primary-c); opacity: .75; }

.an-chip-div { width: 1px; height: 20px; background: var(--an-line); margin-inline: var(--an-space-2); }

.an-crops-meta {
	display: flex; align-items: center; gap: var(--an-space-2);
	font-family: var(--an-font-mono); font-size: 0.75rem;
	color: var(--an-text-3); margin-bottom: var(--an-space-3);
}
.an-count { color: var(--an-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.an-clear {
	margin-inline-start: var(--an-space-2); background: none; border: 0;
	color: var(--an-accent); font: inherit; font-size: 0.75rem;
	cursor: pointer; text-decoration: underline;
}

.an-crops-scroll {
	overflow-x: auto; border: 1px solid var(--an-line);
	border-radius: var(--an-radius-lg); background: var(--an-surface);
	-webkit-overflow-scrolling: touch;
}
.an-crops-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; min-width: 1080px; }
.an-crops-table thead th {
	position: sticky; top: 0; z-index: 2;
	background: var(--an-surface-2); text-align: start;
	font-family: var(--an-font-mono); font-size: 0.6875rem;
	letter-spacing: .1em; text-transform: uppercase; color: var(--an-text-3);
	font-weight: 500; padding: 12px 14px; white-space: nowrap;
	border-bottom: 1px solid var(--an-line);
}
.an-sort {
	background: none; border: 0; padding: 0; font: inherit; color: inherit;
	cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.an-sort::after { content: "↕"; opacity: .45; font-size: .9em; }
.an-sort[data-dir="asc"]::after  { content: "↑"; opacity: 1; color: var(--an-primary); }
.an-sort[data-dir="desc"]::after { content: "↓"; opacity: 1; color: var(--an-primary); }

.an-crops-table tbody tr { border-bottom: 1px solid var(--an-line-soft); }
.an-crops-table tbody tr:last-child { border-bottom: 0; }
.an-crops-table tbody tr:hover { background: var(--an-surface-2); }
.an-crops-table td, .an-crops-table tbody th { padding: 11px 14px; vertical-align: top; }
.an-crop-name {
	font-family: var(--an-font-editorial); font-size: 0.9375rem;
	font-weight: 600; color: var(--an-text); text-align: start; white-space: nowrap;
}
.an-num { font-family: var(--an-font-mono); font-variant-numeric: tabular-nums; color: var(--an-text-2); white-space: nowrap; }
.an-watch { color: var(--an-text-2); min-width: 200px; }

.an-tagdot {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 0.75rem; color: var(--an-text-2); white-space: nowrap;
}
.an-tagdot::before {
	content: ""; width: 7px; height: 7px; border-radius: 2px;
	background: var(--an-text-3); flex: none;
}
.an-g-cereal::before    { background: #C9A227; }
.an-g-pulse::before     { background: #6E8C3A; }
.an-g-oilseed::before   { background: #C8781F; }
.an-g-vegetable::before { background: #2E8B57; }
.an-g-fruit::before     { background: #C0455F; }
.an-g-spice::before     { background: #B4501C; }
.an-g-fibre::before     { background: #5B7FA8; }
.an-g-cash::before      { background: #7B5EA7; }
.an-g-millet::before    { background: #B8912F; }
.an-g-plantation::before{ background: #2F6E52; }
.an-g-nut::before       { background: #8A6642; }
.an-g-flower::before    { background: #C2418A; }
.an-g-medicinal::before { background: #1F8A7A; }
.an-g-fodder::before    { background: #7A8B3F; }

.an-crops-empty { padding: var(--an-space-7); text-align: center; color: var(--an-text-3); font-size: 0.9375rem; }
.an-crops-note {
	margin: var(--an-space-4) 0 0; font-size: 0.75rem;
	color: var(--an-text-3); max-width: 78ch;
}

/* ══ 5. A11Y + MOTION ══════════════════════════════════════════ */
:focus-visible { outline: 2px solid var(--an-primary); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.an-rail, .an-head, .an-crops-filters, .an-crops-search, .an-theme { display: none !important; }
	.an-shell { margin: 0 !important; }
	.an-crops-scroll { overflow: visible; border: 0; }
	.an-crops-table { min-width: 0; font-size: 9pt; }
}

/* ── infinite scroll ────────────────────────────────────────── */
.an-inf-sentinel {
	display: flex; flex-direction: column; align-items: center; gap: var(--an-space-3);
	padding: var(--an-space-7) var(--an-gutter);
}
.an-inf-more {
	font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer;
	background: var(--an-surface); color: var(--an-text);
	border: 1px solid var(--an-line); border-radius: 999px;
	padding: 11px 26px; box-shadow: var(--an-shadow-1);
	transition: border-color var(--an-fast) var(--an-ease);
}
.an-inf-more:hover:not(:disabled) { border-color: var(--an-primary); }
.an-inf-more:disabled { opacity: .55; cursor: default; }
.an-inf-status {
	font-family: var(--an-font-mono); font-size: 0.75rem; color: var(--an-text-3);
	min-height: 1em;
}

/* ══════════════════════════════════════════════════════════════
   PRIMARY SIDEBAR
   264px labelled → 72px icon rail → off-canvas drawer < 900px.
   The old .an-rail bottom bar is retained on mobile only.
   ══════════════════════════════════════════════════════════════ */

:root { --an-side-w: 264px; --an-side-w-min: 72px; }

.an-side {
	position: fixed; inset-block: 0; inset-inline-start: 0;
	width: var(--an-side-w); z-index: 70;
	background: var(--an-surface); border-inline-end: 1px solid var(--an-line-soft);
	display: flex; flex-direction: column;
	transition: width var(--an-normal) var(--an-ease), transform var(--an-normal) var(--an-ease);
}
body.an-side-min .an-side { width: var(--an-side-w-min); }

.an-side-top {
	display: flex; align-items: center; gap: var(--an-space-2);
	padding: var(--an-space-4); border-bottom: 1px solid var(--an-line-soft);
	min-height: 64px;
}
.an-side-mark { display: flex; align-items: center; gap: var(--an-space-2); min-width: 0; }
.an-side-mark-s {
	font-family: var(--an-font-editorial); font-weight: 600; font-size: 1.15rem;
	color: var(--an-accent); flex: none; display: none;
}
.an-side-mark-f {
	font-family: var(--an-font-editorial); font-weight: 600; font-size: 1.05rem;
	color: var(--an-text); white-space: nowrap; letter-spacing: -.015em;
}
.an-side-mark-f em { font-style: normal; color: var(--an-accent); }
body.an-side-min .an-side-mark-f { display: none; }
body.an-side-min .an-side-mark-s { display: block; }

.an-side-collapse {
	margin-inline-start: auto; background: none; border: 0; cursor: pointer;
	color: var(--an-text-3); padding: 6px; border-radius: var(--an-radius-sm);
	display: grid; place-items: center;
}
.an-side-collapse:hover { color: var(--an-text); background: var(--an-sunk); }
.an-side-collapse .an-i { transform: rotate(180deg); transition: transform var(--an-normal) var(--an-ease); }
body.an-side-min .an-side-collapse { margin-inline: auto; }
body.an-side-min .an-side-collapse .an-i { transform: none; }

.an-side-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--an-space-3) 0 var(--an-space-6); }
.an-side-scroll::-webkit-scrollbar { width: 6px; }
.an-side-scroll::-webkit-scrollbar-thumb { background: var(--an-line); border-radius: 3px; }

.an-nav-grp { padding: 0 var(--an-space-3); margin-bottom: var(--an-space-4); }
.an-nav-h {
	display: flex; align-items: center; gap: var(--an-space-2);
	font-family: var(--an-font-mono); font-size: 0.6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--an-text-3);
	padding: var(--an-space-2) var(--an-space-3); margin: 0; font-weight: 500;
}
.an-nav-h-btn { width: 100%; background: none; border: 0; cursor: pointer; font: inherit;
	font-family: var(--an-font-mono); font-size: 0.6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--an-text-3); text-align: start; }
.an-nav-h-btn:hover { color: var(--an-text-2); }
.an-nav-h-n {
	margin-inline-start: auto; font-size: 0.625rem; color: var(--an-text-3);
	font-variant-numeric: tabular-nums; letter-spacing: 0;
}
.an-nav-h-btn .an-i { transition: transform var(--an-fast) var(--an-ease); flex: none; }
.an-nav-h-btn[aria-expanded="false"] .an-i { transform: rotate(-90deg); }
.an-nav-h-btn[aria-expanded="false"] + .an-nav-body { display: none; }
body.an-side-min .an-nav-h, body.an-side-min .an-nav-h-btn { display: none; }

.an-nav-row {
	display: flex; align-items: center; gap: var(--an-space-3);
	padding: 9px var(--an-space-3); border-radius: var(--an-radius-md);
	color: var(--an-text-2); font-size: 0.875rem; width: 100%;
	background: none; border: 0; cursor: pointer; font-family: inherit; text-align: start;
	transition: background var(--an-fast) var(--an-ease), color var(--an-fast) var(--an-ease);
	position: relative;
}
.an-nav-row:hover { background: var(--an-sunk); color: var(--an-text); }
.an-nav-row.is-on { background: color-mix(in srgb, var(--an-primary) 12%, transparent); color: var(--an-primary); font-weight: 500; }
.an-nav-ic { flex: none; display: grid; place-items: center; width: 20px; color: inherit; }
.an-nav-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-nav-n {
	font-family: var(--an-font-mono); font-size: 0.6875rem; color: var(--an-text-3);
	font-variant-numeric: tabular-nums; flex: none;
}
.an-nav-row.is-on .an-nav-n { color: var(--an-primary); }

/* collapsed: icons only, with hover tooltip */
body.an-side-min .an-nav-l,
body.an-side-min .an-nav-n,
body.an-side-min .an-nav-morebtn { display: none; }
body.an-side-min .an-nav-row { justify-content: center; padding: 11px 0; }
body.an-side-min .an-nav-row:hover::after {
	content: attr(data-tip); position: absolute; inset-inline-start: calc(100% + 10px);
	top: 50%; translate: 0 -50%; z-index: 90;
	background: var(--an-text); color: var(--an-bg);
	font-size: 0.75rem; white-space: nowrap;
	padding: 5px 10px; border-radius: var(--an-radius-sm); box-shadow: var(--an-shadow-2);
}
body.an-side-min .an-nav-grp { padding-inline: 10px; }

.an-nav-morebtn {
	width: 100%; background: none; border: 0; cursor: pointer;
	font: inherit; font-size: 0.75rem; color: var(--an-accent);
	padding: 8px var(--an-space-3); text-align: start; border-radius: var(--an-radius-md);
}
.an-nav-morebtn:hover { background: var(--an-sunk); }

.an-side-foot { border-top: 1px solid var(--an-line-soft); padding: var(--an-space-3); }
.an-side-region { font-weight: 500; }

/* content offset */
.an-shell { margin-inline-start: var(--an-side-w); transition: margin var(--an-normal) var(--an-ease); }
body.an-side-min .an-shell { margin-inline-start: var(--an-side-w-min); }

.an-burger { display: none; }
.an-side-scrim { display: none; }

/* ── mobile: drawer + keep the bottom tab bar ── */
@media (max-width: 900px) {
	.an-side { transform: translateX(-100%); width: min(84vw, 300px); box-shadow: var(--an-shadow-2); }
	body.an-side-open .an-side { transform: none; }
	body.an-side-min .an-side { width: min(84vw, 300px); }
	.an-shell, body.an-side-min .an-shell { margin-inline-start: 0; }
	.an-side-collapse { display: none; }

	.an-burger {
		display: grid; place-items: center; position: fixed;
		inset-block-start: calc(env(safe-area-inset-top) + 10px); inset-inline-start: 10px;
		z-index: 65; width: 40px; height: 40px; border-radius: var(--an-radius-md);
		background: var(--an-surface); border: 1px solid var(--an-line);
		color: var(--an-text); cursor: pointer; box-shadow: var(--an-shadow-1);
	}
	.an-side-scrim {
		display: block; position: fixed; inset: 0; z-index: 69;
		background: rgba(0,0,0,.45); border: 0; opacity: 0; pointer-events: none;
		transition: opacity var(--an-normal) var(--an-ease);
	}
	body.an-side-open .an-side-scrim { opacity: 1; pointer-events: auto; }
	.an-head { padding-inline-start: 58px; }
}

@media (prefers-reduced-motion: reduce) {
	.an-side, .an-shell, .an-side-scrim, .an-nav-h-btn .an-i { transition: none; }
}

/* ══ SEARCH AUTOCOMPLETE ══════════════════════════════════════ */
.an-searchbar { position: relative; }
.an-sug {
	position: absolute; inset-block-start: calc(100% + 8px); inset-inline: 0;
	z-index: 80; background: var(--an-surface);
	border: 1px solid var(--an-line); border-radius: var(--an-radius-lg);
	box-shadow: var(--an-shadow-2); overflow: hidden;
	max-height: min(70vh, 560px); overflow-y: auto;
}
.an-sug[hidden] { display: none; }
.an-sug-g { padding: var(--an-space-2) 0; border-bottom: 1px solid var(--an-line-soft); }
.an-sug-g:last-of-type { border-bottom: 0; }
.an-sug-h {
	display: block; padding: 6px var(--an-space-4) 4px;
	font-family: var(--an-font-mono); font-size: 0.625rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--an-text-3);
}
.an-sug-i {
	display: flex; align-items: center; gap: var(--an-space-3);
	padding: 8px var(--an-space-4); color: var(--an-text);
	transition: background var(--an-fast) var(--an-ease);
}
.an-sug-i:hover, .an-sug-i.is-on { background: var(--an-sunk); }
.an-sug-t {
	width: 38px; height: 30px; flex: none; border-radius: var(--an-radius-sm);
	background-size: cover; background-position: center; background-color: var(--an-sunk);
}
.an-sug-t-e { background: var(--an-sunk); }
.an-sug-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.an-sug-l {
	font-size: 0.875rem; line-height: 1.3; overflow: hidden;
	text-overflow: ellipsis; white-space: nowrap;
}
.an-sug-l mark { background: none; color: var(--an-accent); font-weight: 600; }
.an-sug-m { font-size: 0.6875rem; color: var(--an-text-3); }
.an-sug-x {
	font-family: var(--an-font-mono); font-size: 0.6875rem; color: var(--an-text-3);
	flex: none; font-variant-numeric: tabular-nums;
}
.an-sug-all {
	display: block; padding: 11px var(--an-space-4);
	background: var(--an-sunk); font-size: 0.8125rem; font-weight: 500;
	color: var(--an-accent); text-align: center;
}
.an-sug-all:hover, .an-sug-all.is-on { background: color-mix(in srgb, var(--an-accent) 12%, transparent); }
.an-sug-none { padding: var(--an-space-5) var(--an-space-4); font-size: 0.875rem; color: var(--an-text-3); text-align: center; }

/* ══ CROP HUB ═════════════════════════════════════════════════ */
.an-hub-hero {
	position: relative; min-height: 380px; display: flex; align-items: flex-end;
	padding: 0 var(--an-gutter) var(--an-space-6); margin-bottom: var(--an-space-2);
}
.an-hub-hero .an-ph { position: absolute; inset: 0; }
.an-hub-hero-in { position: relative; z-index: 2; max-width: 70ch; }
.an-crumb {
	display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
	font-family: var(--an-font-mono); font-size: 0.6875rem; letter-spacing: .1em;
	text-transform: uppercase; color: #B9C3B6; margin-bottom: var(--an-space-3);
}
.an-crumb a { color: #DCE3D9; }
.an-crumb a:hover { color: #fff; }
.an-hub-tag {
	display: inline-block; font-family: var(--an-font-mono); font-size: 0.6875rem;
	letter-spacing: .14em; text-transform: uppercase; color: #FFD0B6;
	background: rgba(242,112,58,.2); border: 1px solid rgba(242,112,58,.42);
	border-radius: 999px; padding: 5px 13px; margin-bottom: var(--an-space-3);
}
.an-hub-hero h1 {
	font-family: var(--an-font-editorial); font-weight: 400;
	font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02;
	letter-spacing: -.03em; color: #F4F6F2; margin: 0; text-wrap: balance;
}
.an-hub-hero p { margin: var(--an-space-3) 0 0; color: #C7CFC4; font-size: 1rem; }

.an-facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--an-space-3);
}
.an-fact {
	background: var(--an-surface); border: 1px solid var(--an-line);
	border-radius: var(--an-radius-md); padding: var(--an-space-4);
	display: flex; flex-direction: column; gap: 3px;
}
.an-fact-i { color: var(--an-primary); margin-bottom: 4px; }
.an-fact-k {
	font-family: var(--an-font-mono); font-size: 0.625rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--an-text-3);
}
.an-fact-v { font-size: 1rem; font-weight: 500; color: var(--an-text); }

.an-watch-box {
	margin-top: var(--an-space-4); padding: var(--an-space-4);
	background: color-mix(in srgb, var(--an-accent) 8%, var(--an-surface));
	border: 1px solid color-mix(in srgb, var(--an-accent) 26%, transparent);
	border-radius: var(--an-radius-md);
	display: flex; gap: var(--an-space-3); flex-wrap: wrap; align-items: baseline;
}
.an-watch-h {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--an-font-mono); font-size: 0.6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--an-accent); flex: none;
}
.an-watch-v { font-size: 0.9375rem; color: var(--an-text); }
.an-hub-note { margin-top: var(--an-space-3); font-size: 0.8125rem; color: var(--an-text-3); max-width: 76ch; }
.an-hub-rows { margin-top: var(--an-space-4); }

.an-chips-row { display: flex; gap: var(--an-space-2); flex-wrap: wrap; }

.an-hub-wing {
	display: flex; align-items: center; gap: var(--an-space-4);
	margin-top: var(--an-space-5); padding: var(--an-space-4) var(--an-space-5);
	background: var(--an-surface); border: 1px solid var(--an-line);
	border-inline-start: 3px solid var(--c, var(--an-primary));
	border-radius: var(--an-radius-lg); box-shadow: var(--an-shadow-1);
	transition: transform var(--an-fast) var(--an-ease);
}
.an-hub-wing:hover { transform: translateX(3px); }
.an-hub-wing-i { color: var(--c); flex: none; }
.an-hub-wing-b { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.an-hub-wing-k {
	font-family: var(--an-font-mono); font-size: 0.625rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--an-text-3);
}
.an-hub-wing-t { font-family: var(--an-font-editorial); font-size: 1.15rem; color: var(--an-text); }
.an-hub-wing-n {
	font-family: var(--an-font-mono); font-size: 0.8125rem; color: var(--an-text-3);
	font-variant-numeric: tabular-nums;
}
.an-crop-name a { color: inherit; }
.an-crop-name a:hover { color: var(--an-accent); }

/* ══ FOOTER HUB ═══════════════════════════════════════════════
   The platform map. Sits above the slim legal footer, below the
   crop table — the last thing a reader sees is the full extent
   of what the site holds. */

.an-hub-band {
	border-top: 1px solid var(--an-line-soft);
	background: var(--an-sunk);
	padding: var(--an-space-8) var(--an-gutter) var(--an-space-7);
}
.an-hub-inner { max-width: 1240px; margin-inline: auto; }

.an-hub-lead { margin-bottom: var(--an-space-6); }
.an-hub-lead h2 {
	font-family: var(--an-font-editorial); font-weight: 400;
	font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.022em;
	margin: 0; color: var(--an-text);
}
.an-hub-stats {
	display: flex; gap: var(--an-space-5); flex-wrap: wrap;
	margin-top: var(--an-space-4);
}
.an-hub-stats span {
	display: flex; flex-direction: column; gap: 1px;
	font-family: var(--an-font-mono); font-size: 0.6875rem;
	letter-spacing: .12em; text-transform: uppercase; color: var(--an-text-3);
}
.an-hub-stats b {
	font-family: var(--an-font-mono); font-size: 1.35rem; font-weight: 500;
	letter-spacing: -.02em; color: var(--an-text);
	font-variant-numeric: tabular-nums; text-transform: none;
}

.an-hub-cols {
	display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
	gap: var(--an-space-6);
}
@media (max-width: 1100px) { .an-hub-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .an-hub-cols { grid-template-columns: 1fr; } }

/* The domains column carries twice the links, so it spans wider and
   its list runs in two columns rather than one. */
.an-hub-col-wide { grid-column: span 1; }
@media (max-width: 1100px) { .an-hub-col-wide { grid-column: span 2; } }
@media (max-width: 640px)  { .an-hub-col-wide { grid-column: span 1; } }

.an-hub-col h3 {
	font-family: var(--an-font-mono); font-size: 0.6875rem; letter-spacing: .14em;
	text-transform: uppercase; color: var(--an-text-3); font-weight: 500;
	margin: 0 0 var(--an-space-3);
}
.an-hub-col .an-hub-h2 { margin-top: var(--an-space-5); }
.an-hub-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.an-hub-col li a { font-size: 0.875rem; color: var(--an-text-2); }
.an-hub-col li a:hover { color: var(--an-accent); }

/* domain list keeps its colour key and count */
.an-hub-doms { display: grid; grid-template-columns: 1fr 1fr; gap: 7px var(--an-space-4); }
@media (max-width: 640px) { .an-hub-doms { grid-template-columns: 1fr; } }
.an-hub-doms a { display: flex; align-items: center; gap: 9px; font-size: 0.875rem; color: var(--an-text-2); }
.an-hub-doms a:hover { color: var(--an-text); }
.an-hub-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.an-hub-dl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-hub-dn {
	font-family: var(--an-font-mono); font-size: 0.6875rem; color: var(--an-text-3);
	font-variant-numeric: tabular-nums; flex: none;
}

.an-hub-more {
	display: inline-block; margin-top: var(--an-space-3);
	font-size: 0.8125rem; font-weight: 500; color: var(--an-accent);
}
.an-hub-more:hover { text-decoration: underline; }
.an-hub-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.an-hub-menu a { font-size: 0.875rem; color: var(--an-text-2); }
.an-hub-menu a:hover { color: var(--an-accent); }

/* the legal footer below is now deliberately slim */
.an-foot { margin-top: 0; border-top: 1px solid var(--an-line-soft); }

/* ══ TOOLS ════════════════════════════════════════════════════ */
.an-tools { padding: var(--an-space-5) var(--an-gutter) 0; }

.an-tool-pick {
	display: flex; align-items: flex-end; gap: var(--an-space-4); flex-wrap: wrap;
	background: var(--an-surface); border: 1px solid var(--an-line);
	border-radius: var(--an-radius-lg); padding: var(--an-space-4) var(--an-space-5);
	box-shadow: var(--an-shadow-1); position: sticky; top: 74px; z-index: 20;
}
.an-tool-pick label,
.an-tool-row label,
.an-tool-row3 label {
	display: block; font-family: var(--an-font-mono); font-size: 0.625rem;
	letter-spacing: .14em; text-transform: uppercase; color: var(--an-text-3);
	margin-bottom: 5px;
}
.an-tool-pick select, .an-tool-pick input,
.an-tool-row input, .an-tool-row3 input {
	font: inherit; font-size: 0.9375rem; color: var(--an-text);
	background: var(--an-bg); border: 1px solid var(--an-line);
	border-radius: var(--an-radius-sm); padding: 9px 12px;
}
.an-tool-pick select { min-width: 210px; }
.an-tool-area { display: flex; gap: 6px; }
.an-tool-area input { width: 100px; }
.an-tool-crop-link {
	margin-inline-start: auto; font-size: 0.8125rem; font-weight: 500;
	color: var(--an-accent); white-space: nowrap;
}
.an-tool-crop-link:hover { text-decoration: underline; }

.an-tool-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--an-space-4); margin-top: var(--an-space-5);
}
.an-tool-wide { grid-column: 1 / -1; }

.an-tool {
	background: var(--an-surface); border: 1px solid var(--an-line);
	border-radius: var(--an-radius-lg); padding: var(--an-space-5);
	box-shadow: var(--an-shadow-1);
}
.an-tool h2 {
	font-family: var(--an-font-editorial); font-weight: 400; font-size: 1.35rem;
	letter-spacing: -.018em; margin: 0 0 4px; color: var(--an-text);
}
.an-tool-sub { font-size: 0.875rem; color: var(--an-text-2); margin: 0 0 var(--an-space-4); }
.an-tool-row { margin-bottom: var(--an-space-4); }
.an-tool-row input { width: 100%; max-width: 220px; }
.an-tool-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--an-space-3); margin-bottom: var(--an-space-4); }
.an-tool-row3 input { width: 100%; }
@media (max-width: 620px) { .an-tool-row3 { grid-template-columns: 1fr; } }

/* Reserve space so results appearing does not shove the page down. */
.an-tool-out { min-height: 132px; }
.an-tool-wide .an-tool-out { min-height: 0; }

.an-tool-line {
	display: flex; align-items: baseline; justify-content: space-between; gap: var(--an-space-3);
	padding: 9px 0; border-bottom: 1px solid var(--an-line-soft);
}
.an-tool-line:last-child { border-bottom: 0; }
.an-tool-line span { font-size: 0.875rem; color: var(--an-text-2); }
.an-tool-line b {
	font-family: var(--an-font-mono); font-size: 0.9375rem; font-weight: 500;
	color: var(--an-text); font-variant-numeric: tabular-nums; text-align: right;
}
.an-tool-note { font-size: 0.8125rem; color: var(--an-text-3); margin: var(--an-space-3) 0 0; line-height: 1.5; }
.an-tool-note:empty { display: none; }
.an-tool-na {
	font-size: 0.875rem; color: var(--an-text-2); background: var(--an-sunk);
	border-radius: var(--an-radius-sm); padding: var(--an-space-3) var(--an-space-4);
}

.an-tool-count { font-size: 0.875rem; color: var(--an-text-2); margin: 0 0 var(--an-space-3); }
.an-tool-count b { font-family: var(--an-font-mono); color: var(--an-text); }
.an-tool-hits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--an-space-2); }
.an-tool-hit {
	display: flex; flex-direction: column; gap: 2px;
	border: 1px solid var(--an-line); border-radius: var(--an-radius-md);
	padding: 10px 13px; background: var(--an-bg);
	transition: border-color var(--an-fast) var(--an-ease);
}
.an-tool-hit:hover { border-color: var(--an-primary); }
.an-tool-hit b { font-size: 0.9375rem; color: var(--an-text); }
.an-tool-hit span { font-family: var(--an-font-mono); font-size: 0.6875rem; color: var(--an-text-3); }

.an-tool-legal {
	margin: var(--an-space-6) 0 0; font-size: 0.8125rem; color: var(--an-text-3);
	max-width: 80ch; line-height: 1.55;
}
@media (max-width: 900px) { .an-tool-pick { position: static; } }

/* ── the Atlas takeover on the homepage ────────────────────────
   Three screens of scroll holding one pinned canvas. The height is the
   mechanism, not decoration: it is the runway the opening plays out over,
   and shortening it makes the whole thing feel like a jump cut. */

.an-ah {
	position: relative;
	height: 300vh;
	margin: var(--an-space-8) 0;
	background: #0B1210;
}

.an-ah-stage { position: sticky; top: 0; height: 100vh; }

.an-ah-frame {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background: #0B1210;
	clip-path: inset(7vh 6vw round 20px);
	will-change: clip-path;
}

.an-ah-c { display: block; width: 100%; height: 100%; }

.an-ah-copy {
	position: absolute;
	left: 50%;
	bottom: clamp(32px, 8vh, 88px);
	transform: translateX(-50%);
	width: min(640px, calc(100% - 48px));
	text-align: center;
	opacity: 0;
	/* The graph is behind this, so the text needs its own ground to stay
	   readable — a scrim rather than a box, so nothing is boxed off. */
	padding: var(--an-space-5);
	background: radial-gradient(ellipse at center, rgba(11,18,16,.92) 0%, rgba(11,18,16,.72) 55%, rgba(11,18,16,0) 100%);
}

.an-ah-eyebrow {
	margin: 0 0 var(--an-space-2);
	font: 500 0.75rem/1 var(--an-font-ui);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(242,244,241,.62);
}

.an-ah-h {
	margin: 0 0 var(--an-space-3);
	font-family: var(--an-font-editorial);
	font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
	line-height: var(--an-lh-snug);
	text-wrap: balance;
	color: #F2F4F1;
}

.an-ah-sub {
	margin: 0 auto var(--an-space-4);
	max-width: 46ch;
	font: var(--an-t-small)/1.6 var(--an-font-ui);
	color: rgba(242,244,241,.74);
}

.an-ah-go {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid rgba(242,244,241,.32);
	border-radius: 999px;
	font: 500 var(--an-t-small)/1 var(--an-font-ui);
	color: #F2F4F1;
	text-decoration: none;
	transition: background var(--an-fast) var(--an-ease), border-color var(--an-fast) var(--an-ease);
}

.an-ah-go:hover { background: rgba(242,244,241,.10); border-color: rgba(242,244,241,.6); }
.an-ah-go:focus-visible { outline: 2px solid #F2F4F1; outline-offset: 3px; }

.an-ah-tip {
	position: absolute;
	transform: translateX(-50%);
	padding: 5px 10px;
	border-radius: var(--an-radius-sm);
	background: rgba(11,18,16,.9);
	border: 1px solid rgba(242,244,241,.18);
	font: 500 var(--an-t-micro)/1 var(--an-font-ui);
	color: #F2F4F1;
	pointer-events: none;
	white-space: nowrap;
}

.an-ah-hint {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	margin: 0;
	font: 500 var(--an-t-micro)/1 var(--an-font-ui);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(242,244,241,.45);
	pointer-events: none;
}

/* Two screens on a phone, not three: the same opening at the same rate, over
   a runway that does not take half a minute of thumb to get through. */
@media (max-width: 700px) {
	.an-ah { height: 220vh; }
	.an-ah-frame { clip-path: inset(4vh 4vw round 16px); }
	.an-ah-copy { bottom: clamp(24px, 6vh, 48px); }
}

/* No scroll choreography, no rotation, no runway. One frame of the same
   picture, at the height of an ordinary section. */
@media (prefers-reduced-motion: reduce) {
	.an-ah { height: auto; }
	.an-ah-stage { position: static; height: 78vh; }
	.an-ah-frame { height: 78vh; clip-path: none; }
	.an-ah-copy { opacity: 1 !important; transform: translateX(-50%) !important; }
	.an-ah-hint { display: none; }
}

/* The data never arrived. Keep the words. */
.an-ah.is-flat { height: auto; background: #0B1210; }
.an-ah.is-flat .an-ah-stage { position: static; height: auto; }
.an-ah.is-flat .an-ah-frame { height: auto; padding: var(--an-space-8) 0; clip-path: none; }
.an-ah.is-flat .an-ah-c,
.an-ah.is-flat .an-ah-hint { display: none; }
.an-ah.is-flat .an-ah-copy { position: static; opacity: 1; transform: none; margin: 0 auto; background: none; }

/* ── the footer crop table ─────────────────────────────────────
   A real table with the figures in it, not another list of links. Fourteen
   rows: the group you are reading about, or what can go in this month. The
   full 538 live on the homepage, which is where every link to them points. */

.an-cb {
	border-top: 1px solid var(--an-line);
	background: var(--an-surface-2);
}

.an-cb-in {
	max-width: var(--an-max);
	margin: 0 auto;
	padding: var(--an-space-7) var(--an-gutter);
}

.an-cb-head { margin-bottom: var(--an-space-5); max-width: var(--an-measure); }

.an-cb-head h2 {
	margin: var(--an-space-2) 0 var(--an-space-2);
	font-family: var(--an-font-editorial);
	font-size: var(--an-t-h3);
	line-height: var(--an-lh-snug);
	text-wrap: balance;
	color: var(--an-text);
}

.an-cb-head p {
	margin: 0;
	font: var(--an-t-small)/1.6 var(--an-font-ui);
	color: var(--an-text-2);
}

/* The table scrolls inside its own box; the page never scrolls sideways. */
.an-cb-scroll {
	overflow-x: auto;
	border: 1px solid var(--an-line);
	border-radius: var(--an-radius-md);
	background: var(--an-surface);
}

.an-cb-table {
	width: 100%;
	border-collapse: collapse;
	font: var(--an-t-small)/1.45 var(--an-font-ui);
}

.an-cb-table th,
.an-cb-table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid var(--an-line-soft);
	white-space: nowrap;
}

.an-cb-table thead th {
	position: sticky;
	top: 0;
	background: var(--an-surface);
	font: 500 var(--an-t-micro)/1.3 var(--an-font-ui);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--an-text-3);
}

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

.an-cb-table tbody th { font-weight: 500; }
.an-cb-table tbody th a { color: var(--an-text); text-decoration: none; }
.an-cb-table tbody th a:hover { color: var(--an-accent); }

/* Numbers line up; that is most of what makes a table readable. */
.an-cb-n { font-variant-numeric: tabular-nums; color: var(--an-text-2); }

/* The crop the page is about, marked without shouting. */
.an-cb-table tr.is-here { background: var(--an-sunk); }
.an-cb-table tr.is-here th a { color: var(--an-accent); }

.an-cb-more {
	display: flex;
	flex-wrap: wrap;
	gap: var(--an-space-4);
	margin: var(--an-space-4) 0 0;
	font: var(--an-t-micro)/1.5 var(--an-font-ui);
	color: var(--an-text-3);
}

.an-cb-more a { color: var(--an-accent); text-decoration: none; }
.an-cb-more a:hover { text-decoration: underline; }

@media (max-width: 700px) {
	.an-cb-in { padding: var(--an-space-6) var(--an-gutter); }
	.an-cb-table th, .an-cb-table td { padding: 9px 11px; }
}

@media print { .an-cb { display: none; } }

/* ══ the reading surfaces, shell rules removed ══════════════════ */

/* ══════════════════════════════════════════════════════════════
   Agriculture Novel — "Nightfield"
   Light chrome, dark cinematic imagery. Light is the default;
   dark mode is fully designed. Photographic blocks stay dark in
   both themes — that is what keeps the cinema when the page is
   bright.
   ══════════════════════════════════════════════════════════════ */

:root {
	--page:    #F1F3EE;
	--surface: #FFFFFF;
	--raised:  #FFFFFF;
	--sunk:    #E7EAE3;
	--line:    #DCE1D6;
	--line-2:  #E6EADF;

	--ink:     #10150E;
	--ink-2:   #545E4E;
	--ink-3:   #838D7C;

	--ember:   #BE4A18;
	--shoot:   #3D7A1C;

	--chrome:  rgba(241, 243, 238, .82);
	--glass:   rgba(16, 21, 14, .045);
	--elev-s:  0 1px 2px rgba(16,21,14,.05), 0 6px 20px rgba(16,21,14,.07);
	--elev-m:  0 2px 4px rgba(16,21,14,.06), 0 14px 40px rgba(16,21,14,.11);

	--f-ed: "Iowan Old Style", Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--f-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--f-mo: ui-monospace, "SF Mono", "IBM Plex Mono", Menlo, Consolas, monospace;

	--rail: 84px;
	--pad: 40px;
	--tabbar-h: 62px;
}

@media (prefers-color-scheme: dark) {
	:root {
		--page: #0A0D0F; --surface: #12171A; --raised: #1A2024; --sunk: #0E1214;
		--line: #232B30; --line-2: #1A2126;
		--ink: #F0F3EE; --ink-2: #A3AEA5; --ink-3: #6B7670;
		--ember: #F2703A; --shoot: #9BD154;
		--chrome: rgba(10,13,15,.74); --glass: rgba(255,255,255,.05);
		--elev-s: 0 8px 28px rgba(0,0,0,.45);
		--elev-m: 0 14px 44px rgba(0,0,0,.55);
	}
}
:root[data-theme="dark"] {
	--page: #0A0D0F; --surface: #12171A; --raised: #1A2024; --sunk: #0E1214;
	--line: #232B30; --line-2: #1A2126;
	--ink: #F0F3EE; --ink-2: #A3AEA5; --ink-3: #6B7670;
	--ember: #F2703A; --shoot: #9BD154;
	--chrome: rgba(10,13,15,.74); --glass: rgba(255,255,255,.05);
	--elev-s: 0 8px 28px rgba(0,0,0,.45);
	--elev-m: 0 14px 44px rgba(0,0,0,.55);
}
:root[data-theme="light"] {
	--page: #F1F3EE; --surface: #FFFFFF; --raised: #FFFFFF; --sunk: #E7EAE3;
	--line: #DCE1D6; --line-2: #E6EADF;
	--ink: #10150E; --ink-2: #545E4E; --ink-3: #838D7C;
	--ember: #BE4A18; --shoot: #3D7A1C;
	--chrome: rgba(241,243,238,.82); --glass: rgba(16,21,14,.045);
	--elev-s: 0 1px 2px rgba(16,21,14,.05), 0 6px 20px rgba(16,21,14,.07);
	--elev-m: 0 2px 4px rgba(16,21,14,.06), 0 14px 40px rgba(16,21,14,.11);
}

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

body.an-app {
	margin: 0; background: var(--page); color: var(--ink);
	font-family: var(--f-ui); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.an-skip { position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--ember); color: #fff; padding: 10px 16px; font-weight: 600; }
.an-skip:focus { left: 8px; top: 8px; }
.an-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.an-i { flex: none; }

.an-mono {
	font-family: var(--f-mo); font-size: 11px; letter-spacing: .16em;
	text-transform: uppercase; color: var(--ink-3);
}

/* ── photographic blocks: dark in both themes ──────── */
.an-ph {
	position: relative; overflow: hidden;
	background-size: cover; background-position: center;
	background-color: #0F1412;
}
/* Fallback texture when a post has no featured image. */
.an-ph.no-img { background-image:
	radial-gradient(110% 80% at 30% 10%, #2E4A3C 0%, transparent 60%),
	linear-gradient(168deg, #4C6B4A 0%, #6E5233 52%, #8A5A2E 100%); }
.an-ph.no-img::after {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(101deg,
		rgba(0,0,0,.34) 0 3px, rgba(255,255,255,.045) 3px 8px);
	mix-blend-mode: overlay; opacity: .85;
}
.an-scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top,
		rgba(6,8,10,.95) 0%, rgba(6,8,10,.70) 34%,
		rgba(6,8,10,.16) 68%, rgba(6,8,10,.30) 100%);
}

/* ── section frame ─────────────────────────────────── */
.an-sec { padding: 68px var(--pad) 0; }
.an-sec-h { display: flex; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.an-sec-h h2 {
	font-family: var(--f-ed); font-weight: 400;
	font-size: clamp(26px, 3.1vw, 40px); line-height: 1.06;
	letter-spacing: -.026em; margin: 8px 0 0; text-wrap: balance; color: var(--ink);
}
.an-sec-h p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; max-width: 56ch; }
.an-sec-h a {
	margin-inline-start: auto; white-space: nowrap;
	font-size: 14px; font-weight: 600; color: var(--ember);
	border-bottom: 1px solid color-mix(in srgb, var(--ember) 40%, transparent);
	padding-bottom: 2px;
}

/* ── wing tiles ────────────────────────────────────── */
.an-wings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1280px) { .an-wings { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .an-wings { grid-template-columns: repeat(2, 1fr); } }
.an-wing {
	position: relative; aspect-ratio: 4 / 3.1; border-radius: 18px;
	overflow: hidden; border: 1px solid var(--line); box-shadow: var(--elev-m);
	transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s ease;
}
.an-wing:hover { transform: translateY(-5px); border-color: var(--ember); }
.an-wing .an-ph { position: absolute; inset: 0; }
.an-wing-b { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 16px 17px; }
.an-wing-n {
	font-family: var(--f-ed); font-size: 19px; line-height: 1.15;
	letter-spacing: -.015em; text-wrap: balance; color: #F4F6F2;
}
.an-wing-c {
	font-family: var(--f-mo); font-size: 11px; color: #BAC4B7;
	margin-top: 5px; font-variant-numeric: tabular-nums;
}
.an-wing-ic {
	position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2;
	width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
	background: rgba(6,8,10,.5); backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,.18); color: #fff;
}
.an-wing-ic svg { width: 19px; height: 19px; }

/* ── featured cards ────────────────────────────────── */
.an-feats { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
@media (max-width: 1100px) { .an-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .an-feats { grid-template-columns: 1fr; } }
.an-feat {
	position: relative; border-radius: 20px; overflow: hidden;
	border: 1px solid var(--line); min-height: 400px;
	display: flex; align-items: flex-end; box-shadow: var(--elev-m);
	transition: transform .22s cubic-bezier(.2,.7,.3,1);
}
.an-feat:hover { transform: translateY(-5px); }
.an-feat .an-ph { position: absolute; inset: 0; }
.an-feat-b { position: relative; z-index: 2; padding: 24px; width: 100%; }
.an-feat-k {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(6,8,10,.55); backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
	padding: 4px 11px; font-family: var(--f-mo); font-size: 10px;
	letter-spacing: .12em; text-transform: uppercase; color: #DCE3D9;
	margin-bottom: 13px;
}
.an-feat-k svg { width: 11px; height: 11px; }
.an-feat-t {
	font-family: var(--f-ed); font-weight: 400; letter-spacing: -.024em;
	line-height: 1.08; text-wrap: balance; color: #F4F6F2;
	text-shadow: 0 2px 26px rgba(0,0,0,.85);
}
.an-feat.is-lead .an-feat-t { font-size: clamp(26px, 2.8vw, 40px); }
.an-feat .an-feat-t { font-size: 22px; }
.an-feat-m { font-size: 13px; color: #B8C1B6; margin-top: 10px; }

/* ── marketplace ───────────────────────────────────── */
.an-market { margin-top: 68px; padding: 62px var(--pad) 66px; position: relative; }
.an-market::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(80% 120% at 12% 0%, color-mix(in srgb, var(--ember) 11%, transparent) 0%, transparent 58%),
		var(--sunk);
	border-block: 1px solid var(--line-2);
}
.an-market > * { position: relative; z-index: 1; }
.an-prods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1280px) { .an-prods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .an-prods { grid-template-columns: repeat(2, 1fr); } }
.an-prod {
	background: var(--raised); border: 1px solid var(--line);
	border-radius: 18px; overflow: hidden; box-shadow: var(--elev-s);
	display: flex; flex-direction: column;
	transition: transform .2s cubic-bezier(.2,.7,.3,1), border-color .2s ease;
}
.an-prod:hover { transform: translateY(-4px); border-color: var(--ember); }
.an-prod .an-ph { height: 156px; }
.an-prod-b { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.an-prod-t { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.an-prod-m { font-size: 12px; color: var(--ink-3); }
.an-stock {
	display: inline-flex; align-items: center; gap: 6px; width: fit-content;
	font-size: 11px; font-weight: 600; color: var(--shoot);
	background: color-mix(in srgb, var(--shoot) 13%, transparent);
	border-radius: 999px; padding: 3px 9px;
}
.an-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--shoot); }
.an-prod-f { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.an-price {
	font-family: var(--f-mo); font-size: 17px; font-weight: 700;
	letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink);
}
.an-price-lg { font-size: 26px; }
.an-seller {
	font-family: var(--f-mo); font-size: 12px; color: var(--ink-3);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%;
}
.an-add {
	margin-inline-start: auto; border: 1px solid var(--ember); color: var(--ember);
	border-radius: 9px; padding: 6px 14px; font-size: 12.5px; font-weight: 700;
}
.an-prod:hover .an-add { background: var(--ember); color: var(--surface); }

/* ── index ─────────────────────────────────────────── */
.an-idx { columns: 3; column-gap: 44px; margin-top: 4px; }
@media (max-width: 1000px) { .an-idx { columns: 2; } }
@media (max-width: 640px)  { .an-idx { columns: 1; } }
.an-idx a {
	display: flex; align-items: baseline; gap: 10px; padding: 10px 0;
	border-bottom: 1px solid var(--line-2); break-inside: avoid;
}
.an-idx a:hover .nm { color: var(--ember); }
.an-idx .nm { font-size: 15px; }
.an-idx .f { flex: 1; border-bottom: 1px dotted var(--line); translate: 0 -3px; }
.an-idx .c { font-family: var(--f-mo); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ── list rows (archives, search) ──────────────────── */
.an-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 900px) { .an-rows { grid-template-columns: 1fr; } }
.an-row {
	display: flex; gap: 14px; align-items: center; padding: 14px 0;
	border-bottom: 1px solid var(--line-2);
}
.an-row-i {
	width: 68px; height: 52px; border-radius: 10px; flex: none; overflow: hidden;
	background-size: cover; background-position: center; background-color: var(--sunk);
	display: grid; place-items: center; color: var(--ink-3);
}
.an-row-b { min-width: 0; flex: 1; }
.an-row-t {
	display: block; font-family: var(--f-ed); font-size: 16px; line-height: 1.24;
	letter-spacing: -.012em; color: var(--ink); text-wrap: balance;
}
.an-row:hover .an-row-t { color: var(--ember); }
.an-row-m {
	display: flex; gap: 8px; flex-wrap: wrap;
	font-size: 12px; color: var(--ink-3); margin-top: 3px;
}
.an-row-m .t { font-family: var(--f-mo); font-variant-numeric: tabular-nums; }
.an-row > .an-i:last-child { color: var(--ink-3); }

/* ── archive + article ─────────────────────────────── */
.an-cathero { padding: 44px var(--pad) 0; max-width: 60ch; }
.an-back {
	display: inline-flex; align-items: center; gap: 5px; font-size: 13px;
	font-weight: 600; color: var(--ember); margin-bottom: 12px;
}
.an-cathero h1 {
	font-family: var(--f-ed); font-size: clamp(32px, 4.6vw, 56px);
	font-weight: 400; letter-spacing: -.028em; line-height: 1.02;
	margin: 0; text-wrap: balance;
}
.an-cathero-m {
	font-family: var(--f-mo); font-size: 12px; color: var(--ink-3);
	margin: 12px 0 0; font-variant-numeric: tabular-nums;
}
.an-cathero-d { margin-top: 14px; font-size: 16px; color: var(--ink-2); }

.an-catlist { columns: 2; column-gap: 44px; }
@media (max-width: 800px) { .an-catlist { columns: 1; } }
.an-catrow {
	display: flex; align-items: baseline; gap: 10px; padding: 10px 0;
	border-bottom: 1px solid var(--line-2); break-inside: avoid;
}
.an-catrow:hover .nm { color: var(--ember); }
.an-catrow .nm { font-size: 15px; }
.an-catrow .fill { flex: 1; border-bottom: 1px dotted var(--line); translate: 0 -3px; }
.an-catrow .ct { font-family: var(--f-mo); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

.an-article { padding: 44px var(--pad) 0; }
.an-art-head { max-width: 34ch; }
.an-art-t {
	font-family: var(--f-ed); font-size: clamp(34px, 5vw, 62px);
	font-weight: 400; line-height: 1; letter-spacing: -.03em;
	margin: 0; text-wrap: balance;
}
.an-art-m {
	display: flex; gap: 12px; flex-wrap: wrap;
	font-size: 13px; color: var(--ink-3); margin-top: 16px;
}
.an-art-m .t {
	font-family: var(--f-mo); font-variant-numeric: tabular-nums;
	color: var(--ember); font-weight: 600;
}
.an-art-img { margin: 28px 0 0; }
.an-art-img img { width: 100%; border-radius: 20px; display: block; box-shadow: var(--elev-m); }

.an-prose {
	max-width: 68ch; margin-top: 32px;
	font-size: 18px; line-height: 1.7; color: var(--ink);
}
.an-prose > * + * { margin-top: 1.1em; }
.an-prose h2, .an-prose h3, .an-prose h4 {
	font-family: var(--f-ed); letter-spacing: -.022em; line-height: 1.15;
	margin-top: 1.9em; text-wrap: balance;
}
.an-prose h2 { font-size: 30px; font-weight: 400; }
.an-prose h3 { font-size: 23px; font-weight: 600; }
.an-prose h4 { font-size: 19px; font-weight: 600; }
.an-prose a { color: var(--ember); text-decoration: underline; text-underline-offset: 3px; }
.an-prose img { border-radius: 12px; }
.an-prose ul, .an-prose ol { padding-inline-start: 1.3em; }
.an-prose li + li { margin-top: .4em; }
.an-prose blockquote {
	border-inline-start: 3px solid var(--ember); padding-inline-start: 18px;
	margin-inline: 0; font-family: var(--f-ed); font-size: 21px; color: var(--ink-2);
}
.an-prose code {
	font-family: var(--f-mo); font-size: .86em;
	background: var(--sunk); border-radius: 4px; padding: 1px 5px;
}
.an-prose pre {
	background: var(--sunk); border: 1px solid var(--line);
	border-radius: 12px; padding: 16px 18px; overflow-x: auto;
}
.an-prose pre code { background: none; padding: 0; }
.an-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.an-prose table th, .an-prose table td {
	border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: start;
}
.an-prose figure { margin-inline: 0; }
.an-prose .wp-block-table, .an-prose figure.wp-block-table { overflow-x: auto; }

.an-art-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 0; max-width: 68ch; }
.an-art-tags a {
	font-size: 13px; color: var(--ink-2);
	border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px;
}
.an-art-tags a:hover { border-color: var(--ember); color: var(--ember); }

.an-listing-cta {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	margin: 32px 0 0; padding: 22px; max-width: 68ch;
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 18px; box-shadow: var(--elev-s);
}
.an-listing-note { max-width: 68ch; font-size: 13px; color: var(--ink-3); margin-top: 16px; }

.an-comments { max-width: 68ch; }
.an-comments .comment-list { list-style: none; padding: 0; }
.an-comments input[type="text"], .an-comments input[type="email"],
.an-comments input[type="url"], .an-comments textarea {
	width: 100%; font: inherit; font-size: 15px; color: var(--ink);
	background: var(--surface); border: 1px solid var(--line);
	border-radius: 10px; padding: 10px 13px;
}
.an-comments input[type="submit"] {
	background: var(--ember); color: #fff; border: 0; border-radius: 11px;
	padding: 11px 22px; font: inherit; font-weight: 700; cursor: pointer;
}
.an-pagelinks {
	display: flex; gap: 8px; margin-top: 28px; align-items: center;
	font-family: var(--f-mo); font-size: 13px; color: var(--ink-3);
}
.an-pagelinks a { color: var(--ember); font-weight: 600; }

/* ── filters, empty, pagination ────────────────────── */
.an-filters { display: flex; gap: 8px; overflow-x: auto; padding: 20px var(--pad) 0; scrollbar-width: none; }
.an-filters::-webkit-scrollbar { display: none; }
.an-fchip {
	flex: none; font-size: 13px; border: 1px solid var(--line);
	background: var(--surface); color: var(--ink-2);
	border-radius: 999px; padding: 7px 15px; white-space: nowrap;
}
.an-fchip:hover { border-color: var(--ember); color: var(--ink); }
.an-fchip.is-on { background: var(--ember); border-color: var(--ember); color: #fff; font-weight: 600; }

.an-empty {
	padding: 80px var(--pad); text-align: center; color: var(--ink-3);
	display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.an-empty h1, .an-empty h2 {
	font-family: var(--f-ed); font-weight: 400; font-size: 32px;
	letter-spacing: -.024em; margin: 4px 0 0; color: var(--ink); text-wrap: balance;
}
.an-empty p { margin: 0; font-size: 15px; max-width: 44ch; }

.pagination, .nav-links {
	display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
	padding: 40px var(--pad) 0;
}
.pagination .page-numbers {
	min-width: 42px; padding: 9px 13px; text-align: center;
	border: 1px solid var(--line); border-radius: 11px;
	font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums;
	background: var(--surface);
}
.pagination .page-numbers:hover { border-color: var(--ember); color: var(--ember); }
.pagination .page-numbers.current {
	background: var(--ember); border-color: var(--ember); color: #fff; font-weight: 700;
}
.pagination .dots { border-color: transparent; background: none; }

/* ── region sheet ──────────────────────────────────── */
.an-sheet { position: fixed; inset: 0; z-index: 90; }
.an-sheet[hidden] { display: none; }
.an-sheet-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(3px); }
.an-sheet-panel {
	position: absolute; inset-inline: 0; bottom: 0;
	background: var(--page); border-radius: 22px 22px 0 0;
	padding: 22px var(--pad) calc(24px + env(safe-area-inset-bottom));
	max-height: 76vh; overflow-y: auto; max-width: 620px;
	margin-inline: auto; box-shadow: 0 -8px 50px rgba(0,0,0,.3);
}
@media (min-width: 900px) {
	.an-sheet-panel { border-radius: 22px; bottom: auto; top: 50%; translate: 0 -50%; }
}
.an-sheet-head { display: flex; align-items: center; gap: 12px; }
.an-sheet-head h2 {
	font-family: var(--f-ed); font-size: 24px; font-weight: 400;
	letter-spacing: -.022em; margin: 0;
}
.an-sheet-x { margin-inline-start: auto; background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: 4px; line-height: 0; }
.an-sheet-sub { font-size: 14px; color: var(--ink-3); margin: 8px 0 16px; }
.an-sheet-list { display: flex; flex-wrap: wrap; gap: 8px; }
.an-region-opt {
	font: inherit; font-size: 14px; cursor: pointer;
	background: var(--surface); color: var(--ink-2);
	border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.an-region-opt:hover { border-color: var(--ember); color: var(--ink); }
.an-region-opt.is-on { background: var(--ember); border-color: var(--ember); color: #fff; font-weight: 600; }

/* ── in-article crop card ─────────────────────────────────────────
   Appended to every post that is clearly about a crop we hold data
   for. Reads as a reference panel, not an advertisement — it sits
   below the article and uses the surface colour, not the accent. */

.an-cropcard {
	--cc-line: var(--an-line, #DEDEDA);
	--cc-dim: var(--an-text-2, #52565A);
	--cc-accent: var(--an-accent, #B4501C);

	margin: 44px 0 8px;
	padding: 26px 28px;
	border: 1px solid var(--cc-line);
	border-top: 3px solid var(--cc-accent);
	border-radius: 12px;
	background: var(--an-surface, #FFFFFF);
	color: var(--an-text, #16181A);
}

.an-cropcard-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--cc-accent);
	margin-bottom: 6px;
}

.an-cropcard-top h2 {
	margin: 0 0 3px;
	font-size: clamp(21px, 3vw, 27px);
	line-height: 1.15;
	letter-spacing: -.02em;
}

.an-cropcard-sub {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--cc-dim);
}

.an-cropcard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 16px 20px;
	margin: 0 0 20px;
	padding: 20px 0 0;
	border-top: 1px solid var(--cc-line);
}

.an-cropcard-grid dt {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--cc-dim);
	margin-bottom: 3px;
}

.an-cropcard-grid dd {
	margin: 0;
	font-size: 15.5px;
	font-variant-numeric: tabular-nums;
	line-height: 1.35;
}

.an-cropcard-watch {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-left: 3px solid var(--an-warn, #9A6A00);
	background: var(--an-sunk, #EAEAE6);
	font-size: 14px;
	line-height: 1.5;
	color: var(--cc-dim);
}

.an-cropcard-watch strong {
	display: block;
	font-size: 11.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--an-warn, #9A6A00);
	margin-bottom: 3px;
}

.an-cropcard-acts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.an-cropcard-btn {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--cc-line);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: var(--an-text, #16181A);
	background: var(--an-sunk, #EAEAE6);
}

.an-cropcard-btn:hover {
	border-color: var(--cc-accent);
	color: var(--cc-accent);
}

.an-cropcard-btn-p {
	background: var(--cc-accent);
	border-color: var(--cc-accent);
	color: #fff;
	font-weight: 600;
}

.an-cropcard-btn-p:hover { color: #fff; filter: brightness(1.08); }

.an-cropcard-shop {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--cc-line);
}

.an-cropcard-shop ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 7px;
}

.an-cropcard-shop a { font-size: 14.5px; }

.an-cropcard-note {
	margin: 20px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--cc-dim);
}

@media (max-width: 600px) {
	.an-cropcard { padding: 20px 18px; border-radius: 10px; }
	.an-cropcard-grid { gap: 14px; }
}

/* ── The Living Atlas ─────────────────────────────────────────────
   Full-bleed. The map is the page; anything else competes with it. */

.an-atlas {
	position: relative;
	width: 100%;
	height: calc(100vh - var(--an-chrome, 64px));
	min-height: 520px;
	overflow: hidden;
	background: var(--an-bg, #0C0E0F);
	touch-action: none;
}

.an-atlas canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: grab;
}

.an-atlas canvas:active { cursor: grabbing; }

.an-atlas-head {
	position: absolute;
	top: 26px;
	left: 26px;
	max-width: 46ch;
	pointer-events: none;
	/* The map runs under this; without a scrim the type is unreadable
	   wherever a bright cluster drifts beneath it. */
	background: radial-gradient(120% 140% at 0% 0%,
		color-mix(in srgb, var(--an-bg, #0C0E0F) 88%, transparent) 0%,
		transparent 78%);
	padding: 4px 40px 30px 4px;
}

.an-atlas-head h1 {
	margin: 6px 0 10px;
	font-size: clamp(24px, 3.4vw, 38px);
	line-height: 1.08;
	letter-spacing: -.025em;
	text-wrap: balance;
}

.an-atlas-hud {
	margin: 0 0 6px;
	font-family: var(--an-font-mono, ui-monospace, Menlo, monospace);
	font-size: 12.5px;
	letter-spacing: .02em;
	color: var(--an-accent, #B4501C);
	font-variant-numeric: tabular-nums;
}

.an-atlas-help {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--an-text-2, #A2A9A6);
}

.an-atlas-ctl {
	position: absolute;
	right: 22px;
	bottom: 22px;
	display: grid;
	gap: 8px;
}

.an-atlas-ctl button {
	width: 38px;
	height: 38px;
	border: 1px solid var(--an-line, #262B2E);
	border-radius: 10px;
	background: color-mix(in srgb, var(--an-surface, #15181A) 82%, transparent);
	color: var(--an-text, #ECEEEC);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(6px);
}

.an-atlas-ctl button:hover {
	border-color: var(--an-accent, #B4501C);
	color: var(--an-accent, #B4501C);
}

.an-atlas-ctl button:focus-visible {
	outline: 2px solid var(--an-accent, #B4501C);
	outline-offset: 2px;
}

.an-atlas-tip {
	position: absolute;
	transform: translate(14px, -50%);
	max-width: 34ch;
	padding: 7px 11px;
	border: 1px solid var(--an-line, #262B2E);
	border-radius: 8px;
	background: color-mix(in srgb, var(--an-surface, #15181A) 94%, transparent);
	color: var(--an-text, #ECEEEC);
	font-size: 13px;
	line-height: 1.35;
	pointer-events: none;
	z-index: 3;
}

.an-atlas-noscript,
.an-atlas.is-failed .an-atlas-help { color: var(--an-text-2, #A2A9A6); }

.an-atlas-noscript {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	text-align: center;
	padding: 40px;
	max-width: 56ch;
	margin: 0 auto;
}

@media (max-width: 700px) {
	.an-atlas-head { top: 16px; left: 16px; padding-right: 16px; }
	.an-atlas-help { display: none; }
	.an-atlas-ctl { right: 14px; bottom: 14px; }
}

/* ── The Seasonal Clock ───────────────────────────────────────────
   Ring left, month panel right; stacked on narrow screens. The SVG is
   server-rendered, so everything here is presentation only. */

.an-clock {
	max-width: var(--an-max, 1240px);
	margin: 0 auto;
	padding: 34px 20px 72px;
}

.an-clock-head { max-width: 68ch; margin-bottom: 30px; }

.an-clock-head h1 {
	margin: 6px 0 12px;
	font-size: clamp(26px, 4vw, 40px);
	line-height: 1.08;
	letter-spacing: -.025em;
	text-wrap: balance;
}

.an-clock-head p {
	margin: 0;
	color: var(--an-text-2, #52565A);
	line-height: 1.6;
}

.an-clock-body {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
	gap: 34px;
	align-items: start;
}

@media (max-width: 900px) {
	.an-clock-body { grid-template-columns: 1fr; }
}

.an-clock-ring svg { width: 100%; height: auto; display: block; overflow: visible; }

/* months */

.an-clock-m path { transition: opacity .18s ease, transform .18s ease; transform-origin: 350px 350px; }
.an-clock-m:hover path,
.an-clock-m.is-on path { opacity: 1; }
.an-clock-ring:hover .an-clock-m:not(:hover) path { opacity: .38; }

.an-clock-hit { fill: transparent; cursor: pointer; }
.an-clock-hit:focus-visible { outline: 2px solid var(--an-accent, #B4501C); outline-offset: -4px; }

.an-clock-m.is-now .an-clock-lab { fill: var(--an-accent, #B4501C); }

.an-clock-lab {
	font: 600 15px/1 var(--an-font-ui, system-ui), sans-serif;
	fill: var(--an-text, #16181A);
	text-anchor: middle;
	pointer-events: none;
}

.an-clock-num {
	font: 500 11px/1 var(--an-font-mono, ui-monospace, monospace);
	fill: var(--an-text-3, #82878C);
	text-anchor: middle;
	pointer-events: none;
}

/* hand + hub */

.an-clock-hand {
	stroke: var(--an-accent, #B4501C);
	stroke-width: 2;
	stroke-linecap: round;
	opacity: .9;
}

.an-clock-hub { fill: var(--an-surface, #FFFFFF); stroke: var(--an-line, #DEDEDA); }

.an-clock-c1 {
	font: 600 42px/1 var(--an-font-ui, system-ui), sans-serif;
	fill: var(--an-text, #16181A);
	text-anchor: middle;
	font-variant-numeric: tabular-nums;
}

.an-clock-c2 {
	font: 500 12px/1 var(--an-font-mono, ui-monospace, monospace);
	fill: var(--an-text-3, #82878C);
	text-anchor: middle;
	letter-spacing: .06em;
}

/* panel */

.an-clock-panel {
	position: sticky;
	top: 20px;
	border: 1px solid var(--an-line, #DEDEDA);
	border-radius: 12px;
	background: var(--an-surface, #FFFFFF);
	padding: 20px 22px;
	max-height: 78vh;
	overflow: auto;
}

@media (max-width: 900px) { .an-clock-panel { position: static; max-height: none; } }

.an-clock-panel h2 { margin: 0 0 2px; font-size: 22px; letter-spacing: -.02em; }

.an-clock-sub {
	margin: 0 0 16px;
	font-size: 13.5px;
	color: var(--an-text-2, #52565A);
}

.an-clock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.an-clock-list a {
	display: grid;
	grid-template-columns: 10px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 7px;
	text-decoration: none;
	color: inherit;
	font-size: 14.5px;
}

.an-clock-list a:hover { background: var(--an-sunk, #EAEAE6); }

.an-clock-dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--c, #6B7280);
}

.an-clock-g { font-size: 11.5px; color: var(--an-text-3, #82878C); }

@media (prefers-reduced-motion: reduce) {
	.an-clock-m path { transition: none; }
}

/* ── Crop Radar / comparison ──────────────────────────────────── */

.an-cmp { max-width: var(--an-max, 1240px); margin: 0 auto; padding: 34px 20px 72px; }

.an-cmp-head { max-width: 70ch; margin-bottom: 22px; }
.an-cmp-head h1 { margin: 6px 0 10px; font-size: clamp(26px,4vw,40px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.an-cmp-head p { margin: 0; color: var(--an-text-2, #52565A); line-height: 1.6; }

.an-cmp-pick {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	padding: 14px 16px; margin-bottom: 26px;
	border: 1px solid var(--an-line, #DEDEDA); border-radius: 12px;
	background: var(--an-surface, #fff);
}
.an-cmp-pick label { font-size: 13px; color: var(--an-text-2, #52565A); }
.an-cmp-pick select {
	padding: 8px 11px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 8px;
	background: var(--an-bg, #F4F4F2); color: var(--an-text, #16181A); font: inherit; font-size: 14.5px;
}

.an-cmp-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 34px; align-items: start; }
@media (max-width: 860px) { .an-cmp-body { grid-template-columns: 1fr; } }

.an-cmp-chart svg { width: 100%; height: auto; overflow: visible; }

.an-cmp-ring  { fill: none; stroke: var(--an-line, #DEDEDA); stroke-width: 1; }
.an-cmp-spoke { stroke: var(--an-line, #DEDEDA); stroke-width: 1; }
.an-cmp-axis  { font: 500 11.5px/1 var(--an-font-ui, system-ui), sans-serif; fill: var(--an-text-2, #52565A); }

/* Two hues far enough apart to read where they overlap, both legible on either ground. */
.an-cmp-poly { stroke-width: 2; stroke-linejoin: round; }
.an-cmp-poly-a { fill: color-mix(in srgb, var(--an-accent, #B4501C) 26%, transparent); stroke: var(--an-accent, #B4501C); }
.an-cmp-poly-b { fill: color-mix(in srgb, #2F7F94 24%, transparent); stroke: #2F7F94; }
.an-cmp-dots-a circle { fill: var(--an-accent, #B4501C); }
.an-cmp-dots-b circle { fill: #2F7F94; }

.an-cmp-key { display: flex; gap: 18px; justify-content: center; margin-top: 10px; font-size: 14px; }
.an-cmp-key span { display: inline-flex; align-items: center; gap: 7px; }
.an-cmp-sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.an-cmp-sw-a { background: var(--an-accent, #B4501C); }
.an-cmp-sw-b { background: #2F7F94; }

.an-cmp-missing {
	margin: 12px 0 0; text-align: center;
	font-size: 12.5px; line-height: 1.5; color: var(--an-text-3, #82878C);
}

.an-cmp-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.an-cmp-table th, .an-cmp-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--an-line, #DEDEDA); vertical-align: top; }
.an-cmp-table thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--an-text-2, #52565A); font-weight: 600; }
.an-cmp-k { color: var(--an-text-2, #52565A); width: 34%; }

.an-cmp-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.an-cmp-btn {
	padding: 9px 15px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 8px;
	text-decoration: none; color: inherit; font-size: 14px; background: var(--an-surface, #fff);
}
.an-cmp-btn:hover { border-color: var(--an-accent, #B4501C); color: var(--an-accent, #B4501C); }

.an-cmp-more { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--an-line, #DEDEDA); }
.an-cmp-more h2 { font-size: 17px; margin: 0 0 12px; }
.an-cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.an-cmp-chips a {
	padding: 6px 12px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 999px;
	font-size: 13.5px; text-decoration: none; color: var(--an-text-2, #52565A);
}
.an-cmp-chips a:hover { border-color: var(--an-accent, #B4501C); color: var(--an-accent, #B4501C); }

/* ── Deep Grow: atmosphere ────────────────────────────────────────
   Everything here is scoped to the deep attribute, so light and dark
   are byte-for-byte unchanged. */

:root[data-an-theme="deep"] body {
	position: relative;
}

/* Film grain. An inline SVG turbulence rather than an image request —
   it costs nothing, tiles perfectly, and scales to any display. */
:root[data-an-theme="deep"] body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: var(--an-grain, .05);
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
	mix-blend-mode: overlay;
}

/* A slow vignette so the edges fall away and the centre holds the eye. */
:root[data-an-theme="deep"] body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9998;
	pointer-events: none;
	background: radial-gradient(120% 90% at 50% 40%, transparent 42%, rgba(0,0,0,.55) 100%);
}

/* Bloom, but only on things that are genuinely accented — a glow on
   every element is a smear, not an atmosphere. */
:root[data-an-theme="deep"] .an-eyebrow,
:root[data-an-theme="deep"] .an-btn:not(.an-btn-ghost),
:root[data-an-theme="deep"] .an-cropcard-btn-p,
:root[data-an-theme="deep"] .an-clock-hand {
	box-shadow: var(--an-bloom);
}

:root[data-an-theme="deep"] .an-eyebrow,
:root[data-an-theme="deep"] .an-atlas-hud {
	text-shadow: 0 0 14px color-mix(in srgb, var(--an-accent) 55%, transparent);
	box-shadow: none;
}

/* Hero image sits deeper and cooler, so type over it always wins. */
:root[data-an-theme="deep"] .an-hero .an-ph { filter: saturate(.82) contrast(1.08) brightness(.7); }
:root[data-an-theme="deep"] .an-scrim {
	background: linear-gradient(180deg, rgba(7,10,8,.35) 0%, rgba(7,10,8,.78) 62%, var(--an-bg) 100%);
}

/* Sections lift into place as they arrive. The class is added by JS
   only when motion is allowed, so nothing can be left invisible. */
:root[data-an-theme="deep"] .an-lift {
	opacity: 0;
	transform: translateY(var(--an-lift, 14px));
	transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
	will-change: opacity, transform;
}

:root[data-an-theme="deep"] .an-lift.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	:root[data-an-theme="deep"] .an-lift,
	:root[data-an-theme="deep"] .an-lift.is-in {
		opacity: 1;
		transform: none;
		transition: none;
	}
	:root[data-an-theme="deep"] body::after { opacity: .03; }
}

/* ── Crop hub: what this crop unlocks ─────────────────────────── */

.an-hub-do { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--an-line, #DEDEDA); }
.an-hub-do h2 { font-size: clamp(19px,2.6vw,25px); margin: 0 0 16px; letter-spacing: -.018em; }

.an-hub-do-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 12px; }

.an-hub-do-card {
	display: grid; gap: 4px; padding: 16px 18px;
	border: 1px solid var(--an-line, #DEDEDA); border-radius: 12px;
	background: var(--an-surface, #fff); text-decoration: none; color: inherit;
}
.an-hub-do-card:hover { border-color: var(--an-accent, #B4501C); }

.an-hub-do-k { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--an-accent, #B4501C); }
.an-hub-do-v { font-size: 15.5px; line-height: 1.3; }
.an-hub-do-m { font-size: 12.5px; color: var(--an-text-3, #82878C); }

.an-hub-do-h { font-size: 15px; margin: 26px 0 10px; }
.an-hub-vs { display: flex; flex-wrap: wrap; gap: 8px; }
.an-hub-vs a {
	padding: 6px 13px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 999px;
	font-size: 13.5px; text-decoration: none; color: var(--an-text-2, #52565A);
}
.an-hub-vs a:hover { border-color: var(--an-accent, #B4501C); color: var(--an-accent, #B4501C); }

/* ── PWA: offline notice, install card, offline page ──────────── */

#an-pwa-bar {
	position: fixed; left: 50%; bottom: -60px; transform: translateX(-50%);
	z-index: 100002; padding: 9px 18px; border-radius: 999px;
	background: var(--an-text, #16181A); color: var(--an-bg, #F4F4F2);
	font-size: 13.5px; box-shadow: 0 8px 28px rgba(0,0,0,.28);
	transition: bottom .3s cubic-bezier(.22,.61,.36,1);
	max-width: calc(100vw - 32px); text-align: center;
}
#an-pwa-bar.is-on { bottom: 20px; }
#an-pwa-bar.is-warn { background: #8A5A12; color: #fff; }
#an-pwa-bar.is-ok { background: #1F7A4A; color: #fff; }

#an-pwa-card {
	position: fixed; right: 20px; bottom: 20px; z-index: 100001;
	width: min(340px, calc(100vw - 40px));
	padding: 18px 20px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 14px;
	background: var(--an-surface, #fff); box-shadow: 0 16px 44px rgba(12,20,16,.22);
	opacity: 0; transform: translateY(14px); transition: opacity .26s ease, transform .26s ease;
}
#an-pwa-card.is-in { opacity: 1; transform: none; }
.an-pwa-t { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; }
.an-pwa-b { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--an-text-2, #52565A); }
.an-pwa-a { display: flex; gap: 8px; }
.an-pwa-a button {
	flex: 1; padding: 9px 12px; border-radius: 8px; font: inherit; font-size: 13.5px; cursor: pointer;
	border: 1px solid var(--an-line, #DEDEDA); background: var(--an-bg, #F4F4F2); color: inherit;
}
.an-pwa-a button[data-pwa="yes"] {
	background: var(--an-accent, #B4501C); border-color: var(--an-accent, #B4501C);
	color: #fff; font-weight: 600;
}

.an-offline { max-width: 62ch; margin: 0 auto; padding: 64px 20px 80px; }
.an-offline h1 { margin: 6px 0 12px; font-size: clamp(26px,4vw,38px); line-height: 1.08; letter-spacing: -.025em; }
.an-offline > p { margin: 0 0 28px; color: var(--an-text-2, #52565A); line-height: 1.6; }
.an-offline-do { display: grid; gap: 10px; }
.an-offline-do a {
	display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px;
	padding: 16px 18px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 12px;
	background: var(--an-surface, #fff); text-decoration: none; color: inherit;
}
.an-offline-do a:hover { border-color: var(--an-accent, #B4501C); }
.an-offline-do b { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--an-accent, #B4501C); }
.an-offline-do span { font-size: 14.5px; color: var(--an-text-2, #52565A); }

@media (prefers-reduced-motion: reduce) {
	#an-pwa-bar, #an-pwa-card { transition: none; }
}

/* ── My Grow ──────────────────────────────────────────────────── */

.an-save {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 8px;
	background: var(--an-surface, #fff); color: inherit; font: inherit; font-size: 14px; cursor: pointer;
}
.an-save:hover { border-color: var(--an-accent, #B4501C); color: var(--an-accent, #B4501C); }
.an-save.is-on { border-color: var(--an-accent, #B4501C); color: var(--an-accent, #B4501C); font-weight: 600; }
.an-save.is-sm { padding: 4px 10px; font-size: 12.5px; }
.an-save-i { font-size: 13px; line-height: 1; }

#an-mg-nudge {
	position: fixed; left: 20px; bottom: 20px; z-index: 100000;
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	max-width: min(420px, calc(100vw - 40px));
	padding: 12px 16px; border: 1px solid var(--an-line, #DEDEDA);
	border-left: 3px solid var(--an-accent, #B4501C); border-radius: 12px;
	background: var(--an-surface, #fff); box-shadow: 0 12px 34px rgba(12,20,16,.16);
	font-size: 14px; line-height: 1.4;
}
#an-mg-nudge a { color: var(--an-accent, #B4501C); text-decoration: none; font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { #an-mg-nudge { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

.an-mg { max-width: 74ch; margin: 0 auto; padding: 34px 20px 80px; }
.an-mg-head h1 { margin: 6px 0 10px; font-size: clamp(26px,4vw,38px); line-height: 1.08; letter-spacing: -.025em; }
.an-mg-head p { margin: 0 0 26px; color: var(--an-text-2, #52565A); line-height: 1.6; }

.an-mg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
.an-mg-stats div { border: 1px solid var(--an-line, #DEDEDA); border-radius: 12px; padding: 16px 18px; background: var(--an-surface, #fff); }
.an-mg-stats b { display: block; font-size: 30px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.an-mg-stats span { font-size: 12.5px; color: var(--an-text-2, #52565A); }
.an-mg-stats i { font-style: normal; }

.an-mg-sec { margin-bottom: 32px; }
.an-mg-sec h2 { font-size: 16px; margin: 0 0 12px; }

.an-mg-list, .an-mg-seen { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.an-mg-list li {
	display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
	padding: 10px 12px; border: 1px solid var(--an-line, #DEDEDA); border-radius: 10px;
	background: var(--an-surface, #fff);
}
.an-mg-list li.is-now { border-color: var(--an-accent, #B4501C); }
.an-mg-list a, .an-mg-seen a { text-decoration: none; color: inherit; }
.an-mg-list a:hover, .an-mg-seen a:hover { color: var(--an-accent, #B4501C); }
.an-mg-tag {
	font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
	color: var(--an-accent, #B4501C); border: 1px solid currentColor; border-radius: 999px; padding: 2px 8px;
}
.an-mg-seen li { padding: 8px 12px; border-bottom: 1px solid var(--an-line, #DEDEDA); font-size: 14.5px; }
.an-mg-empty { color: var(--an-text-3, #82878C); font-size: 14px; padding: 10px 0 !important; border: 0 !important; }

.an-mg-clear {
	background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px;
	color: var(--an-text-3, #82878C); text-decoration: underline; cursor: pointer;
}
.an-mg-clear:hover { color: #B23A2B; }

/* ── Field data ───────────────────────────────────────────────── */

.an-fdp {
	margin: 34px 0 0; padding: 20px 22px;
	border: 1px solid var(--an-line, #DEDEDA); border-left: 3px solid #1F7A6A;
	border-radius: 12px; background: var(--an-surface, #fff);
}
.an-fdp.is-empty { border-left-color: var(--an-line, #DEDEDA); }
.an-fdp-k {
	display: block; font-size: 11px; font-weight: 600; letter-spacing: .09em;
	text-transform: uppercase; color: #1F7A6A; margin-bottom: 12px;
}
.an-fdp.is-empty .an-fdp-k { color: var(--an-text-3, #82878C); }
.an-fdp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.an-fdp-grid b { display: block; font-size: 28px; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.an-fdp-grid span { display: block; font-size: 12.5px; color: var(--an-text-2, #52565A); }
.an-fdp-grid i { display: block; font-style: normal; font-size: 11.5px; color: var(--an-text-3, #82878C); margin-top: 3px; }
.an-fdp-pro { margin: 16px 0 0; font-size: 14px; color: var(--an-text-2, #52565A); }
.an-fdp-n, .an-fdp-none { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--an-text-3, #82878C); }
.an-fdp-none { font-size: 14px; color: var(--an-text-2, #52565A); }

.an-fd { display: grid; gap: 14px; max-width: 46rem; }
.an-fd-lead { margin: 0; color: var(--an-text-2, #52565A); line-height: 1.6; }
.an-fd-row { display: grid; gap: 5px; }
.an-fd-row label { font-size: 12px; font-weight: 600; color: var(--an-text-2, #52565A); }
.an-fd input, .an-fd select, .an-fd textarea {
	width: 100%; padding: 11px 12px; min-height: 44px; box-sizing: border-box;
	border: 1px solid var(--an-line, #DEDEDA); border-radius: 8px;
	background: var(--an-bg, #F4F4F2); color: inherit; font: inherit; font-size: 15px;
}
.an-fd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.an-fd-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 520px) { .an-fd-four { grid-template-columns: repeat(2, 1fr); } }
.an-fd-more summary { cursor: pointer; font-size: 13.5px; color: var(--an-text-2, #52565A); }
.an-fd-hp { position: absolute; left: -9999px; }
.an-fd-go {
	min-height: 48px; padding: 0 24px; border: 0; border-radius: 10px;
	background: var(--an-accent, #B4501C); color: #fff; font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer;
}
.an-fd-fine { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--an-text-3, #82878C); }

/* ── Content slots + the crop-page report form ────────────────── */

.an-slot { max-width: var(--an-max, 1240px); margin: 0 auto; padding: 0 var(--an-gutter, 20px); }
.an-slot:empty { display: none; }
.an-slot-sidebar_end { padding: 12px 16px 20px; }
.an-slot-article_end,
.an-slot-crop_end { margin-top: 28px; }

.an-hub-report {
	margin-top: 26px;
	border: 1px solid var(--an-line, #DEDEDA);
	border-radius: 12px;
	background: var(--an-surface, #fff);
	overflow: hidden;
}
.an-hub-report > summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 20px;
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15.5px;
	font-weight: 600;
}
.an-hub-report > summary::-webkit-details-marker { display: none; }
.an-hub-report > summary::before {
	content: "+";
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; flex: 0 0 22px;
	border: 1px solid var(--an-accent, #B4501C); border-radius: 50%;
	color: var(--an-accent, #B4501C); font-weight: 500; font-size: 15px; line-height: 1;
}
.an-hub-report[open] > summary::before { content: "−"; }
.an-hub-report[open] > summary { border-bottom: 1px solid var(--an-line, #DEDEDA); }
.an-hub-report .an-fd { padding: 20px; max-width: none; }

/* ── Homepage: answers rendered before anyone types ──────────────
   Namespaced away from .an-ask-card, which the ask box's own script
   owns. Sharing that class made these inherit its accent rail and
   padding and then fight it in the cascade. */
.an-show { margin-top: 22px; }
.an-show-h {
	margin: 0 0 12px; font-size: 12px; font-weight: 600;
	letter-spacing: .07em; text-transform: uppercase;
	color: var(--an-text-3);
}
.an-show-g {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
}
.an-show-card {
	display: flex; flex-direction: column; gap: 6px;
	padding: 18px 20px 16px;
	border: 1px solid var(--an-line); border-radius: var(--an-radius-md);
	background: var(--an-surface);
	color: inherit; text-decoration: none;
	transition: border-color var(--an-fast) var(--an-ease),
	            transform var(--an-fast) var(--an-ease);
}
a.an-show-card:hover,
a.an-show-card:focus-visible {
	border-color: var(--an-accent);
	transform: translateY(-2px);
}
.an-show-q {
	font-size: 12.5px; color: var(--an-text-3);
	text-transform: lowercase; letter-spacing: 0;
}
.an-show-v {
	font-family: var(--an-font-editorial);
	font-size: clamp(23px, 3.1vw, 30px); line-height: var(--an-lh-tight);
	letter-spacing: -.02em; font-weight: 600;
	color: var(--an-text); font-variant-numeric: tabular-nums;
}
.an-show-s {
	font-size: 13.5px; line-height: var(--an-lh-snug);
	color: var(--an-text-2);
}
.an-show-m {
	margin-top: 2px; font-size: 11px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
	color: var(--an-accent);
}
@media (prefers-reduced-motion: reduce) {
	.an-show-card { transition: none; }
	a.an-show-card:hover, a.an-show-card:focus-visible { transform: none; }
}

/* ── Crop page: what this means today ────────────────────────── */
.an-now {
	max-width: var(--an-max, 1240px);
	margin: 0 auto 8px; padding: 22px var(--an-gutter, 20px) 26px;
}
.an-now-when {
	margin: 0 0 6px; font-family: var(--an-font-mono); font-size: 11px;
	font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--an-text-3);
}
.an-now-h {
	margin: 0 0 8px; font-family: var(--an-font-editorial);
	font-size: clamp(22px, 3.4vw, 31px); line-height: var(--an-lh-tight);
	letter-spacing: -.02em; font-weight: 600; text-wrap: balance;
}
.an-now.is-open .an-now-h { color: var(--an-accent); }
.an-now-p {
	margin: 0; max-width: 62ch; color: var(--an-text-2);
	line-height: var(--an-lh-body);
}
.an-now-p strong { color: var(--an-text); font-variant-numeric: tabular-nums; }

.an-now-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--an-line); }
.an-now-alt-h {
	margin: 0 0 10px; font-size: 12.5px; color: var(--an-text-3);
	max-width: 70ch;
}
.an-now-alt-g { display: flex; flex-wrap: wrap; gap: 8px; }
.an-now-chip {
	display: inline-flex; align-items: baseline; gap: 7px;
	padding: 7px 14px; min-height: 38px;
	border: 1px solid var(--an-line); border-radius: 999px;
	background: var(--an-surface); color: inherit; text-decoration: none;
	transition: border-color var(--an-fast) var(--an-ease);
}
.an-now-chip:hover, .an-now-chip:focus-visible { border-color: var(--an-accent); }
.an-now-chip span { font-size: 14px; font-weight: 600; }
.an-now-chip em {
	font-style: normal; font-family: var(--an-font-mono); font-size: 11.5px;
	color: var(--an-text-3); font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) { .an-now-chip { transition: none; } }


/* Registry-supplied capabilities carry a glyph rather than a theme icon id,
   because a plugin cannot know which icons this theme ships. */
.an-nav-glyph {
	display: inline-block;
	width: 19px;
	line-height: 19px;
	text-align: center;
	font-size: 15px;
	opacity: .9;
}
