/* ZarPostalCodes
   Direction: "Stamp & Veld". Deep veld green ground, one emerald accent for action,
   gold kept for stamps and map pins only. Bricolage Grotesque display, Figtree text.
   Radius rule: code chips 6px, buttons/inputs 12px, cards and maps 18px, tags pill. */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #F3F5F0;
	--surface: #FFFFFF;
	--ink: #13221C;
	--ink-2: #44564E;
	--ink-3: #66776F;
	--line: #D8E0DA;
	--line-2: #E7ECE8;
	--accent: #0E7A55;
	--accent-strong: #095C40;
	--accent-soft: #E1F0E8;
	--deep: #0C2A20;
	--deep-2: #143A2D;
	--deep-3: #1E4E3C;
	--gold: #F2B705;
	--gold-soft: #FCF1CC;
	--gold-ink: #5E4500;

	--font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-chip: 6px;
	--r-ctl: 12px;
	--r-card: 18px;

	--shadow: 0 1px 2px rgba(12, 42, 32, .06), 0 10px 30px -12px rgba(12, 42, 32, .22);
	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 32px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:where(body) {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 1.0625rem/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
:where(h1, h2, h3, h4) { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
:where(h2) { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
:where(h3) { font-size: 1.15rem; font-weight: 650; }
:where(p) { margin: 0 0 1em; }
:where(a) { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(a:hover) { color: var(--accent); }
:where(img, svg) { max-width: 100%; }
:where(table) { border-collapse: collapse; }
:where(ul, ol, dl, dd, figure, address, details) { margin: 0; padding: 0; }
:where(address) { font-style: normal; }
:where(button) { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--deep); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--deep); padding: 8px 14px; border-radius: var(--r-ctl); font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 860px; }
.mono, .num { font-variant-numeric: tabular-nums; }
.num { text-align: right; }

/* ---------- buttons, chips, pills ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	min-height: 48px; padding: 0 1.25em;
	border: 0; border-radius: var(--r-ctl);
	font: 650 1rem/1 var(--font-body); cursor: pointer; text-decoration: none;
	transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent-strong); box-shadow: inset 0 0 0 1.5px var(--line); min-height: 40px; font-size: .92rem; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

.chip {
	display: inline-block; min-width: 3.4em; text-align: center;
	padding: .3em .55em; border-radius: var(--r-chip);
	background: var(--accent-soft); color: var(--accent-strong);
	font: 650 .95rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: .02em;
	text-decoration: none;
}
a.chip:hover { background: var(--accent); color: #fff; }
.chip--box { background: var(--gold-soft); color: var(--gold-ink); }
a.chip--box:hover { background: var(--gold); color: var(--deep); }
.chip--empty { background: transparent; color: var(--ink-3); }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pills a {
	display: inline-flex; align-items: baseline; gap: .45em;
	padding: .42em .9em; border-radius: 999px;
	background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink); text-decoration: none; font-size: .95rem;
}
.pills a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-strong); }
.pills small { color: var(--ink-3); font-size: .8rem; }

/* ---------- header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.site-header__search { flex: 1; max-width: 460px; min-width: 0; }
.site-header--hero { background: var(--deep); border-bottom: 0; color: #fff; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); flex-shrink: 0; }
.brand:hover { color: var(--deep); }
.brand__mark { width: 36px; height: 36px; color: var(--accent); }
.brand__pin { fill: var(--gold); }
.brand__word { font: 500 1.28rem/1 var(--font-display); letter-spacing: -.02em; }
.brand__word strong { font-weight: 780; }
.site-header--hero .brand, .site-header--hero .brand:hover { color: #fff; }
.site-header--hero .brand__mark { color: var(--gold); }

.site-nav { margin-left: auto; }
.site-nav .menu { list-style: none; display: flex; gap: 4px; }
.site-nav a {
	display: block; padding: 10px 14px; border-radius: var(--r-ctl);
	color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; white-space: nowrap;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.site-header--hero .site-nav a { color: rgba(255, 255, 255, .82); }
.site-header--hero .site-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- search ---------- */
.search { position: relative; display: flex; align-items: center; background: var(--surface); border-radius: var(--r-ctl); box-shadow: inset 0 0 0 1.5px var(--line); }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search__icon { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--ink-3); pointer-events: none; }
.search__input {
	flex: 1; min-width: 0; height: 44px; padding: 0 12px 0 44px;
	border: 0; background: transparent; color: var(--ink);
	font: 500 1rem/1 var(--font-body); outline: none;
}
.search__input::placeholder { color: var(--ink-3); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__btn {
	height: 36px; margin-right: 4px; padding: 0 14px; border: 0; border-radius: 9px;
	background: var(--accent); color: #fff; font-weight: 650; cursor: pointer;
}
.search__btn:hover { background: var(--accent-strong); }
.search--sm .search__btn { display: none; }

.search--lg { box-shadow: 0 0 0 1px rgba(12, 42, 32, .08), 0 18px 40px -18px rgba(0, 0, 0, .45); }
.search--lg .search__input { height: 64px; font-size: 1.15rem; padding-left: 52px; }
.search--lg .search__icon { left: 18px; width: 22px; height: 22px; }
.search--lg .search__btn { height: 52px; margin-right: 6px; padding: 0 24px; font-size: 1.02rem; border-radius: 10px; }

.search__panel {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
	background: var(--surface); border-radius: var(--r-ctl); box-shadow: var(--shadow), 0 0 0 1px var(--line);
	max-height: min(70vh, 520px); overflow: auto; padding: 6px; color: var(--ink);
}
.sugg { list-style: none; }
.sugg__group { padding: 8px 10px 4px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sugg__item a {
	display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
	padding: 9px 10px; border-radius: 9px; text-decoration: none; color: var(--ink);
}
.sugg__item[aria-selected="true"] a, .sugg__item a:hover { background: var(--accent-soft); }
.sugg__name { font-weight: 650; }
.sugg__name mark { background: none; color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sugg__meta { grid-column: 1; font-size: .86rem; color: var(--ink-3); }
.sugg__codes { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.sugg__more a { display: block; padding: 10px; text-align: center; font-weight: 650; border-top: 1px solid var(--line-2); margin-top: 4px; text-decoration: none; }
.sugg__empty { padding: 14px 12px; color: var(--ink-2); font-size: .95rem; }
.sugg__loading { padding: 8px; }
.sugg__loading span { display: block; height: 44px; margin: 4px 0; border-radius: 9px; background: linear-gradient(90deg, var(--line-2), #F5F7F4, var(--line-2)); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- hero ---------- */
.hero {
	position: relative; z-index: 2; overflow-x: clip; overflow-y: visible; color: #fff;
	background:
		radial-gradient(1200px 520px at 85% 30%, rgba(30, 78, 60, .9), transparent 70%),
		var(--deep);
	padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 88px);
}
.hero::before {
	content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23F2B705' stroke-width='1'%3E%3Cpath d='M-20 60c40-30 80 30 120 0s80-30 120 0 60 20 60 20'/%3E%3Cpath d='M-20 120c40-30 80 30 120 0s80-30 120 0 60 20 60 20'/%3E%3Cpath d='M-20 180c40-30 80 30 120 0s80-30 120 0 60 20 60 20'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.1rem); font-weight: 760; line-height: 1.03; letter-spacing: -.03em; margin-bottom: .35em; max-width: 16ch; }
.hero__hl { color: var(--gold); }
.hero__lead { color: rgba(255, 255, 255, .78); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 46ch; margin-bottom: 28px; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__try { margin: 16px 0 0; color: rgba(255, 255, 255, .7); font-size: .98rem; }
.hero__try a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.hero__try a:hover { color: var(--gold); text-decoration-color: var(--gold); }
.hero__or { margin: 0 .2em; }
.hero__near { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hero__near svg { width: 18px; height: 18px; }
.hero__map { position: relative; margin-right: calc(var(--gut) * -0.5); }

/* ---------- SVG province map ---------- */
.samap { position: relative; }
.samap__svg { display: block; width: 100%; height: auto; overflow: visible; }
.samap__prov path { fill: #174636; stroke: #3E8268; stroke-width: 1.8; stroke-linejoin: round; transition: fill .18s ease; }
.samap__prov:hover path, .samap__prov:focus path, .samap__prov.is-active path { fill: var(--accent); }
.samap__prov:focus { outline: none; }
.samap__prov:focus-visible path { stroke: var(--gold); stroke-width: 3; }
.samap__labels text { fill: rgba(255, 255, 255, .5); font: 700 26px var(--font-display); letter-spacing: .04em; text-anchor: middle; pointer-events: none; }
.samap__pin { fill: var(--gold); stroke: var(--deep); stroke-width: 3.5; }
.samap__pinlabel { fill: #fff; font: 600 23px var(--font-body); paint-order: stroke; stroke: var(--deep); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.samap__readout { margin: 10px 0 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .95rem; min-height: 1.6em; }
.samap__readout strong { color: #fff; }

.page .samap__prov path { fill: #D5E2D9; stroke: var(--bg); stroke-width: 2.5; }
.page .samap__prov:hover path, .page .samap__prov:focus path { fill: var(--accent); }
.page .samap__labels text { fill: var(--deep); opacity: .55; }
.page .samap__readout { color: var(--ink-2); }
.page .samap__readout strong { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-sm { padding: clamp(32px, 5vw, 56px) 0 0; }
.section__lead { color: var(--ink-2); font-size: 1.12rem; max-width: 60ch; margin-bottom: 32px; }

.cities { background: var(--surface); }
.cities__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cities__intro p { color: var(--ink-2); max-width: 40ch; }
.cities__total { display: grid; gap: 4px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.bignum { font: 760 clamp(3rem, 6vw, 4.6rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ledger tables */
.ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger { width: 100%; font-variant-numeric: tabular-nums; }
.ledger thead th {
	position: sticky; top: 0; z-index: 1; background: var(--surface);
	text-align: left; font: 700 .76rem/1 var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3);
	padding: 12px 12px; border-bottom: 1.5px solid var(--ink);
}
.ledger th, .ledger td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.ledger tbody th { font-weight: 600; }
.ledger tbody th a { color: var(--ink); text-decoration: none; }
.ledger tbody th a:hover { color: var(--accent-strong); text-decoration: underline; }
.ledger tbody tr:hover > * { background: #F7FAF6; }
.ledger td a { color: var(--ink-2); }
.ledger--full { background: var(--surface); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.ledger--full thead th:first-child { border-top-left-radius: var(--r-card); }
.ledger--full thead th:last-child { border-top-right-radius: var(--r-card); }
.ledger__letter th { background: var(--bg) !important; font: 760 1.05rem/1 var(--font-display); color: var(--accent); padding-top: 18px; }
.ledger .num { text-align: right; }

/* range bar */
.rangebar { position: relative; height: 64px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.rangebar__seg { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .15s ease; border-right: 2px solid var(--surface); }
.rangebar__seg--a { background: var(--accent); }
.rangebar__seg--b { background: var(--deep-3); }
.rangebar__seg:hover, .rangebar__seg:focus-visible { background: var(--gold); }
.rangebar__seg span { color: #fff; font: 700 .9rem/1 var(--font-display); letter-spacing: .03em; }
.rangebar__seg:hover span { color: var(--deep); }
.rangebar__scale { display: flex; justify-content: space-between; margin-top: 8px; color: var(--ink-3); font: 600 .85rem/1 var(--font-display); font-variant-numeric: tabular-nums; }

.explain { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); margin-top: 48px; }
.explain__list { display: grid; gap: 22px; }
.explain__list div { padding-left: 18px; border-left: 3px solid var(--accent); }
.explain__list dt { font: 700 1.2rem/1.2 var(--font-display); margin-bottom: 4px; }
.explain__list dd { color: var(--ink-2); max-width: 52ch; }
.explain__ranges { list-style: none; columns: 1; }
.explain__ranges li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.explain__ranges a { font-weight: 650; text-decoration: none; color: var(--ink); }
.explain__ranges a:hover { color: var(--accent-strong); }
.explain__ranges span { color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; font-size: .95rem; }

/* province list */
.provinces { background: var(--surface); }
.provlist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1.5px solid var(--ink); margin-top: 24px; }
.provlist li { border-bottom: 1px solid var(--line); }
.provlist a {
	display: grid; grid-template-columns: 1fr auto 28px; grid-template-areas: "name cap arrow" "meta cap arrow";
	align-items: center; gap: 2px 16px; padding: 18px 4px; text-decoration: none; color: var(--ink);
}
.provlist__name { grid-area: name; font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -.01em; }
.provlist__meta { grid-area: meta; color: var(--ink-3); font-size: .95rem; font-variant-numeric: tabular-nums; }
.provlist__cap { grid-area: cap; color: var(--ink-2); font-size: .92rem; text-align: right; }
.provlist__arrow { grid-area: arrow; width: 22px; height: 22px; color: var(--accent); transition: transform .15s ease; }
.provlist a:hover .provlist__name { color: var(--accent-strong); }
.provlist a:hover .provlist__arrow { transform: translateX(4px); }
.provlist--single { grid-template-columns: 1fr; }

.az-block { margin-top: 56px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; }
.az a {
	display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px;
	border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none;
	font: 700 1rem/1 var(--font-display);
}
.az a:hover { background: var(--accent); color: #fff; }
.az a[aria-current="page"] { background: var(--deep); color: var(--gold); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1.5px solid var(--ink); }
.faq__list summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
	padding: 20px 2px; font: 650 1.12rem/1.3 var(--font-display);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex-shrink: 0; font: 400 1.6rem/1 var(--font-body); color: var(--accent); transition: transform .2s ease; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--ink-2); padding: 0 2px 20px; max-width: 62ch; margin: 0; }
.faq--inline { max-width: 860px; padding-bottom: 24px; }

/* ---------- inner pages ---------- */
.page { padding-bottom: clamp(56px, 8vw, 96px); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 20px 0 0; font-size: .92rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent-strong); text-decoration: underline; }

.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: clamp(20px, 3vw, 36px); }
.place__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 760; line-height: 1.04; letter-spacing: -.03em; margin-bottom: .3em; }
.place__title span { display: block; color: var(--ink-3); font-weight: 500; font-size: .55em; letter-spacing: -.01em; margin-top: .15em; }
.place__title--code span { display: block; margin: 0 0 .1em; }
.place__title--code { font-size: clamp(3rem, 7vw, 5.4rem); font-variant-numeric: tabular-nums; }
.place__lead { color: var(--ink-2); font-size: 1.15rem; max-width: 52ch; }
.place__hint { color: var(--ink-3); font-size: .95rem; max-width: 52ch; margin-top: 20px; }

.stamps { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0 8px; filter: drop-shadow(0 10px 18px rgba(12, 42, 32, .16)) drop-shadow(0 1px 1px rgba(12, 42, 32, .1)); }
.stamp {
	--hole: 6px; --step: 16px;
	background: var(--surface); padding: 12px;
	-webkit-mask: radial-gradient(circle var(--hole) at var(--hole) var(--hole), #0000 96%, #000) calc(var(--hole) * -1) calc(var(--hole) * -1) / var(--step) var(--step) round, linear-gradient(#000 0 0) content-box;
	mask: radial-gradient(circle var(--hole) at var(--hole) var(--hole), #0000 96%, #000) calc(var(--hole) * -1) calc(var(--hole) * -1) / var(--step) var(--step) round, linear-gradient(#000 0 0) content-box;
	min-width: 220px;
}
.stamp--street { transform: rotate(-1.2deg); }
.stamp--box { transform: rotate(1deg); }
.stamp__in {
	position: relative; display: grid; gap: 6px; padding: 18px 20px 16px;
	background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(14, 122, 85, .25);
}
.stamp--box .stamp__in { background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(94, 69, 0, .2); }
.stamp__label { font: 700 .74rem/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--accent-strong); }
.stamp--box .stamp__label { color: var(--gold-ink); }
.stamp__code {
	font: 800 clamp(3.2rem, 6vw, 4.4rem)/.95 var(--font-display); letter-spacing: .01em; font-variant-numeric: tabular-nums;
	color: var(--deep); text-decoration: none;
}
.stamp__code:hover { color: var(--accent-strong); }
.stamp__code--none { font-size: 1.5rem; font-weight: 600; color: var(--ink-3); padding: 14px 0 8px; }
.stamp__copy {
	justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
	padding: 6px 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .75); color: var(--ink);
	font-size: .85rem; font-weight: 650; cursor: pointer;
}
.stamp__copy svg { width: 15px; height: 15px; }
.stamp__copy:hover { background: #fff; }
.stamp__copy.is-done { background: var(--deep); color: #fff; }

.mapbox { position: relative; }
.mapbox__map { height: 420px; border-radius: var(--r-card); overflow: hidden; background: #D5E2D9; box-shadow: 0 0 0 1px var(--line); isolation: isolate; z-index: 0; }
.place__map--tall .mapbox__map { height: 540px; }
.mapbox__note { margin-top: 10px; font-size: .88rem; color: var(--ink-3); }
.mapbox__nojs { padding: 20px; color: var(--ink-2); }
.place__svgmap { padding-top: 16px; }

.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.facts dt { font: 700 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.facts dd { font: 760 2.2rem/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.toparea { margin-top: 32px; }
.toparea__h { font-size: 1rem; font-weight: 650; color: var(--ink-2); font-family: var(--font-body); letter-spacing: 0; }

.address__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 8px; }
.envelope {
	position: relative; display: grid; gap: 14px; align-content: start;
	padding: 26px 26px 22px; background: var(--surface); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line);
}
.envelope::after { content: ""; position: absolute; top: 18px; right: 18px; width: 44px; height: 52px; border: 2px dashed var(--gold); border-radius: 3px; background: var(--gold-soft); }
.envelope figcaption { font: 700 .74rem/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.envelope address { font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.envelope .btn { justify-self: start; }

.related { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.related__block { padding-top: clamp(32px, 5vw, 56px); }
.related__block:only-child { grid-column: 1 / -1; }
.related h2, .section-sm h2, .listhead h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.codelist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1.5px solid var(--ink); }
.codelist a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); }
.codelist a:hover span:first-child { color: var(--accent-strong); text-decoration: underline; }
.codelist__code { font: 650 .95rem/1.4 var(--font-display); color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.more { display: inline-block; margin-top: 16px; font-weight: 650; }
.more::after { content: " \2192"; }

.listhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 16px; }
.listhead h2 { margin: 0; }
.filter input {
	height: 44px; width: min(320px, 100%); padding: 0 14px; border: 0; border-radius: var(--r-ctl);
	background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font: 500 1rem var(--font-body); color: var(--ink);
}
.filter input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.jump { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.jump a { display: grid; place-items: center; min-width: 32px; height: 32px; border-radius: 8px; font: 700 .9rem/1 var(--font-display); text-decoration: none; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.jump a:hover { background: var(--accent); color: #fff; box-shadow: none; }
.empty { padding: 20px; color: var(--ink-2); }

.codenav { display: flex; gap: 10px; margin-top: 28px; }
.codenav a { padding: 9px 14px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font: 650 1rem/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.codenav a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent-strong); }

.pagehead { padding: clamp(28px, 4vw, 48px) 0 28px; }
.pagehead .az { margin-top: 20px; }
.letterbig { color: var(--accent); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pager a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.pager a[aria-current="page"] { background: var(--deep); color: var(--gold); box-shadow: none; }

.q { color: var(--accent); }
.callout a { display: inline-block; padding: 14px 18px; border-radius: var(--r-ctl); background: var(--accent-soft); font-weight: 650; text-decoration: none; }
.results { list-style: none; display: grid; gap: 8px; }
.results a {
	display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
	padding: 14px 18px; border-radius: var(--r-ctl); background: var(--surface); box-shadow: 0 0 0 1px var(--line);
	text-decoration: none; color: var(--ink);
}
.results a:hover { box-shadow: 0 0 0 1.5px var(--accent); }
.results__name { font: 650 1.1rem/1.25 var(--font-display); }
.results__meta { grid-column: 1; color: var(--ink-3); font-size: .92rem; }
.results__codes { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.results__km { color: var(--ink-3); font-size: .88rem; }
.results--near { margin-top: 24px; }
.nearme__status { margin-top: 16px; color: var(--ink-2); min-height: 1.6em; }
.emptystate { margin-top: 32px; padding: 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }

.prose { padding-top: clamp(28px, 4vw, 48px); max-width: 68ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose li { margin-bottom: .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }

.notfound { text-align: left; padding-top: 48px; }
.notfound__code { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--font-display); color: var(--accent-soft); margin: 0; letter-spacing: -.04em; -webkit-text-stroke: 2px var(--accent); }
.notfound .search { margin-top: 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, .72); padding: 64px 0 28px; }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, .8fr); gap: 40px; }
.site-footer__about p { max-width: 36ch; margin-top: 16px; }
.brand--footer, .brand--footer:hover { color: #fff; }
.brand--footer .brand__mark { color: var(--gold); }
.site-footer h2 { color: #fff; font-size: .8rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer__col li { padding: 4px 0; }
.site-footer__col:first-of-type ul { columns: 2; column-gap: 24px; }
.site-footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.site-footer__legal p { max-width: 110ch; margin: 0; }
.site-footer__legal a { color: rgba(255, 255, 255, .75); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }

/* ---------- Leaflet skin ---------- */
.leaflet-container { font-family: var(--font-body); background: #D5E2D9; }
.leaflet-popup-content-wrapper { border-radius: var(--r-ctl); box-shadow: var(--shadow); }
.leaflet-popup-content { margin: 12px 14px; font-size: .95rem; line-height: 1.45; }
.leaflet-popup-content strong { font-family: var(--font-display); font-size: 1.05rem; }
.leaflet-popup-content a { font-weight: 650; }
.leaflet-control-attribution { font-size: .7rem; }
.zpin { width: 34px; height: 44px; }
.zpin svg { width: 34px; height: 44px; filter: drop-shadow(0 3px 4px rgba(12, 42, 32, .35)); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__map { max-width: 560px; margin: 8px auto 0; }
	.cities__grid, .explain, .faq__grid, .related { grid-template-columns: 1fr; }
	.place { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.site-header__in { flex-wrap: wrap; gap: 10px 16px; padding-block: 12px; min-height: 0; }
	.site-header__search { order: 3; flex-basis: 100%; max-width: none; }
	.site-nav { margin-left: auto; }
}
@media (max-width: 760px) {
	.site-nav a { padding: 8px 10px; font-size: .92rem; }
	.brand__word { font-size: 1.12rem; }
	.provlist { grid-template-columns: 1fr; }
	.provlist__cap { display: none; }
	.provlist a { grid-template-columns: 1fr 28px; grid-template-areas: "name arrow" "meta arrow"; }
	.codelist { grid-template-columns: 1fr; }
	.hide-sm { display: none; }
	.mapbox__map { height: 320px; }
	.place__map--tall .mapbox__map { height: 380px; }
	.search--lg .search__input { height: 58px; font-size: 1.05rem; }
	.search--lg .search__btn { padding: 0 16px; height: 46px; }
	.stamps { gap: 14px; flex-wrap: nowrap; }
	.stamp { min-width: 0; flex: 1 1 0; --hole: 5px; --step: 13px; padding: 10px; }
	.stamp__in { padding: 14px 12px 12px; }
	.stamp__code { font-size: clamp(2.2rem, 11vw, 3rem); }
	.stamp__code--none { font-size: 1.1rem; padding: 10px 0 4px; }
	.stamp__copy span { font-size: .8rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.rangebar { height: 52px; }
}
@media (max-width: 480px) {
	.site-nav li:nth-child(-n+2) { display: none; }
	.brand__mark { width: 30px; height: 30px; }
	.brand__word { font-size: 1.05rem; }
	.place__lead { font-size: 1.05rem; }
	.hero__title { font-size: 2.3rem; }
	.search--lg .search__btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .mapbox, .search, .az, .pager { display: none !important; }
	.stamp { -webkit-mask: none; mask: none; border: 2px dashed #000; }
}

/* =========================================================
   Blog, articles and editorial pages
   ========================================================= */

/* cover art: a stamp on the veld */
.cover {
	position: relative; display: grid; place-items: center; overflow: hidden;
	background: radial-gradient(120% 90% at 85% 15%, var(--deep-3), transparent 60%), var(--deep);
	border-radius: var(--r-card); aspect-ratio: 16 / 10;
}
.cover::before {
	content: ""; position: absolute; inset: 0; opacity: .16;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23F2B705' stroke-width='1'%3E%3Cpath d='M-20 40c27-20 53 20 80 0s53-20 80 0 40 13 40 13'/%3E%3Cpath d='M-20 80c27-20 53 20 80 0s53-20 80 0 40 13 40 13'/%3E%3Cpath d='M-20 120c27-20 53 20 80 0s53-20 80 0 40 13 40 13'/%3E%3C/g%3E%3C/svg%3E");
}
.cover__stamp {
	--hole: 5px; --step: 13px;
	position: relative; display: grid; justify-items: center; gap: 4px;
	padding: 10px; background: var(--surface); transform: rotate(-2deg);
	-webkit-mask: radial-gradient(circle var(--hole) at var(--hole) var(--hole), #0000 96%, #000) calc(var(--hole) * -1) calc(var(--hole) * -1) / var(--step) var(--step) round, linear-gradient(#000 0 0) content-box;
	mask: radial-gradient(circle var(--hole) at var(--hole) var(--hole), #0000 96%, #000) calc(var(--hole) * -1) calc(var(--hole) * -1) / var(--step) var(--step) round, linear-gradient(#000 0 0) content-box;
	transition: transform .25s ease;
}
.cover__inner { display: grid; justify-items: center; gap: 4px; background: var(--gold-soft); padding: .55em .7em .7em; }
.cover__text { font: 800 2.6rem/1 var(--font-display); letter-spacing: .01em; color: var(--deep); font-variant-numeric: tabular-nums; }
.cover__text--5 { font-size: 2.2rem; }
.cover__text--6 { font-size: 1.9rem; }
.cover__label { font: 700 .62rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); max-width: 14em; text-align: center; }
.cover--lg { aspect-ratio: 4 / 3; }
.cover--lg .cover__stamp { --hole: 7px; --step: 17px; padding: 14px; }
.cover--lg .cover__text { font-size: clamp(3rem, 6vw, 4.6rem); }
.cover--lg .cover__text--5 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.cover--lg .cover__text--6 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); }
.cover--lg .cover__label { font-size: .78rem; }
.cover--sm .cover__text { font-size: 1.7rem; }
.cover--sm .cover__text--5, .cover--sm .cover__text--6 { font-size: 1.35rem; }
.cover--sm .cover__label { font-size: .55rem; }

/* post cards */
.pcard__link { display: grid; gap: 18px; text-decoration: none; color: var(--ink); }
.pcard__link:hover .pcard__title { color: var(--accent-strong); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pcard__link:hover .cover__stamp { transform: rotate(0deg); }
.pcard__cat { margin: 0 0 6px; font: 700 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.pcard__title { margin: 0 0 8px; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.01em; }
.pcard__excerpt { margin: 0 0 10px; color: var(--ink-2); max-width: 60ch; }
.pcard__meta { margin: 0; color: var(--ink-3); font-size: .88rem; }

.pcard--feature .pcard__link { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding-bottom: 40px; margin-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
.pcard--feature .pcard__body { order: -1; }
.pcard--feature .pcard__title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; }
.pcard--feature .pcard__excerpt { font-size: 1.1rem; }

.pcard--row .pcard__link { grid-template-columns: 200px minmax(0, 1fr); align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pcard--mini .pcard__link { grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; }
.pcard--mini .cover, .pcard--row .cover { border-radius: var(--r-ctl); }
.pcard--mini .cover { aspect-ratio: 1; }
.pcard--mini .cover__stamp { --hole: 4px; --step: 10px; padding: 7px; }
.pcard--mini .cover__inner { padding: .45em .5em; }
.pcard--mini .cover__text { font-size: 1.2rem; }
.pcard--mini .cover__text--5, .pcard--mini .cover__text--6 { font-size: .95rem; }
.pcard--mini .cover__label { display: none; }
.pcard--mini .pcard__title { font-size: 1.08rem; margin-bottom: 4px; }

.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.plist--compact { gap: 22px 36px; }
.plist--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bloghead { padding: clamp(20px, 3vw, 36px) 0 clamp(24px, 4vw, 40px); }
.catnav { margin-top: 20px; }
.catnav a[aria-current="page"] { background: var(--deep); color: #fff; box-shadow: none; }
.catnav a[aria-current="page"] small { color: rgba(255, 255, 255, .7); }

.blogcta { margin-top: clamp(48px, 7vw, 80px); padding: clamp(28px, 4vw, 44px); border-radius: var(--r-card); background: var(--deep); color: #fff; }
.blogcta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 18px; }
.blogcta .search { max-width: 640px; }

.pager--posts .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.pager--posts .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.pager--posts .page-numbers.current { background: var(--deep); color: var(--gold); box-shadow: none; }

/* home: guides section */
.guides { background: var(--surface); border-top: 1px solid var(--line-2); }
.guides__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.guides__intro p { color: var(--ink-2); max-width: 36ch; }

/* article */
.ahead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px) 0 clamp(28px, 4vw, 48px); border-bottom: 1.5px solid var(--ink); }
.ahead__title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 760; line-height: 1.05; letter-spacing: -.03em; margin-bottom: .35em; }
.ahead__lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 54ch; }
.ameta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; color: var(--ink-3); font-size: .92rem; }
.ameta span:first-child { color: var(--ink); font-weight: 600; }

.abody { padding-top: clamp(28px, 4vw, 48px); }
.abody--toc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 24px; padding: 18px 0 0; border-top: 1.5px solid var(--ink); }
.toc__h { margin: 0 0 10px; font: 700 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.toc a:hover { color: var(--accent-strong); text-decoration: underline; }
.related-posts { margin-top: clamp(48px, 7vw, 80px); }

/* prose (articles and pages) */
.prose { font-size: 1.08rem; }
.prose > * { max-width: 68ch; }
.prose--article { max-width: 760px; }
.prose--article > * { max-width: none; }
.prose h2 { margin: 1.8em 0 .55em; font-size: clamp(1.45rem, 2.2vw, 1.85rem); scroll-margin-top: 20px; }
.prose h3 { margin: 1.5em 0 .45em; font-size: 1.2rem; }
.prose > h2:first-child, .prose > p:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a { font-weight: 550; }
.prose .ledger-wrap { margin: 1.4em 0 1.6em; max-width: none; }
.prose table caption { caption-side: top; text-align: left; padding: 14px 14px 4px; font-weight: 650; color: var(--ink-2); }
.prose blockquote, .prose .tip {
	margin: 1.5em 0; padding: 18px 22px; border: 0; border-left: 4px solid var(--gold);
	background: var(--gold-soft); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; color: var(--ink);
}
.prose .tip p:last-child, .prose blockquote p:last-child { margin-bottom: 0; }
.prose .tip strong:first-child { display: block; margin-bottom: 4px; font-family: var(--font-display); }
.prose .addr {
	display: inline-block; min-width: min(100%, 300px); margin: .4em 0 1.4em; padding: 20px 24px;
	background: var(--surface); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line);
	font-size: 1.05rem; line-height: 1.6; color: var(--ink);
}
.prose .addr b { color: var(--accent-strong); }
.prose .addr__label { display: block; margin-bottom: 8px; font: 700 .72rem/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.prose .addr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: none; margin: .6em 0 1.4em; }
.prose .addr-grid .addr { margin: 0; display: block; }
.prose details { border-bottom: 1px solid var(--line); max-width: none; }
.prose .faqs { border-top: 1.5px solid var(--ink); margin: .4em 0 1.4em; }
.prose summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 2px; font: 650 1.1rem/1.3 var(--font-display); color: var(--ink); }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; flex-shrink: 0; font: 400 1.6rem/1 var(--font-body); color: var(--accent); transition: transform .2s ease; }
.prose details[open] summary::after { transform: rotate(45deg); }
.prose details > :not(summary) { padding: 0 2px; color: var(--ink-2); }
.prose details > p:last-child { padding-bottom: 18px; margin: 0; }
.prose .inline-search { margin: 1.2em 0 1.8em; max-width: 640px; }
.prose--wide > * { max-width: none; }
.prose--wide > p { max-width: 68ch; }

/* cities hub + html sitemap */
.cities-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 48px; }
.cityblock h2 { margin-top: 1.4em; font-size: 1.4rem; }
.cityblock h2 a { color: var(--ink); text-decoration: none; }
.cityblock h2 a:hover { color: var(--accent-strong); text-decoration: underline; }
.cityblock .ledger-wrap { margin: .6em 0 0; }
.htmlmap section { margin-bottom: 8px; }
.htmlmap h2 { font-size: 1.35rem; margin-top: 1.6em; }
.htmlmap h2 a { color: var(--ink); text-decoration: none; }
.htmlmap__cols { list-style: none; padding: 0 !important; columns: 3 220px; column-gap: 32px; }
.htmlmap__cols li { break-inside: avoid; margin: 0 0 6px; padding: 0; }
.htmlmap__cols li::marker { content: none; }
.htmlmap__cols--dense { columns: 4 170px; font-size: .95rem; }
.htmlmap__cols--dense li { margin-bottom: 3px; }
.htmlmap__az a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; margin: 0 4px 6px 0; border-radius: 9px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 700; }

/* contact form */
.cform { display: grid; gap: 16px; max-width: 640px; margin: 1.2em 0 2em; padding: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: var(--r-card); box-shadow: 0 0 0 1px var(--line); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.cform__field input, .cform__field select, .cform__field textarea {
	width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r-ctl);
	background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line);
	font: 400 1rem/1.4 var(--font-body); color: var(--ink);
}
.cform__field textarea { resize: vertical; min-height: 140px; }
.cform__field input:focus, .cform__field select:focus, .cform__field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); background: var(--surface); }
.cform__note { margin: 0; color: var(--ink-3); font-size: .9rem; }
.cform .btn { justify-self: start; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { max-width: 640px; padding: 14px 18px; border-radius: var(--r-ctl); font-weight: 600; }
.notice--ok { background: var(--accent-soft); color: var(--accent-strong); }
.notice--error { background: var(--gold-soft); color: var(--gold-ink); box-shadow: inset 4px 0 0 var(--gold); }

@media (max-width: 1000px) {
	.ahead, .guides__grid, .pcard--feature .pcard__link { grid-template-columns: 1fr; }
	.pcard--feature .pcard__body { order: 0; }
	.ahead .cover { max-width: 520px; }
	.abody--toc { grid-template-columns: 1fr; }
	.toc { position: static; }
	.plist--three { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.plist, .plist--three, .cities-hub { grid-template-columns: 1fr; }
	.pcard--row .pcard__link { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 18px 0; }
	.pcard--row .pcard__excerpt { display: none; }
	.pcard--row .pcard__title { font-size: 1.12rem; }
	.pcard--row .cover { aspect-ratio: 1; }
	.pcard--row .cover__stamp { --hole: 4px; --step: 10px; padding: 7px; }
	.pcard--row .cover__label { display: none; }
	.pcard--row .cover__text { font-size: 1.2rem; }
	.pcard--row .cover__text--5, .pcard--row .cover__text--6 { font-size: .95rem; }
	.cform__row { grid-template-columns: 1fr; }
	.prose { font-size: 1.04rem; }
}
@media (max-width: 640px) {
	.site-nav li:nth-child(-n+2) { display: none; }
}
@media (max-width: 420px) {
	.site-nav li:nth-child(-n+3) { display: none; }
}
@media (max-width: 760px) {
	.article .crumbs li:last-child { display: none; }
	.ahead .cover { aspect-ratio: 16 / 9; }
}


/* ---------- breadcrumb bar + share buttons ---------- */
.pagebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 20px; }
.pagebar .crumbs ol { padding-top: 0; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share__label { margin-right: 6px; font: 700 .74rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.share__btn {
	display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
	border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink-2); cursor: pointer; text-decoration: none;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.share__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share__btn:hover, .share__btn:focus-visible { background: var(--accent); color: #fff; box-shadow: none; }
.share__btn.is-done { background: var(--deep); color: var(--gold); box-shadow: none; }
.share--head { margin-top: 18px; }
.share--end { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }
.faq__list .share--end { margin-top: 28px; border-top: 0; padding-top: 0; }
@media (max-width: 760px) {
	.pagebar { padding-top: 14px; }
	.share__btn { width: 34px; height: 34px; }
}
@media print { .share { display: none !important; } }

/* article extras: source lists and inline code */
.prose .sources { list-style: none; padding-left: 0; font-size: .95rem; }
.prose .sources li { padding-left: 0; margin-bottom: .5em; }
.prose .sources li::before { content: "97"; margin-right: .5em; color: var(--accent); }
.prose code { font-size: .92em; padding: .1em .35em; border-radius: var(--r-chip); background: var(--accent-soft); color: var(--accent-strong); }
