/* Dataset pages (tools/data/dataset-page-v2.mjs). Everything sits inside the site's rails (--wk-rail, page-grid.css);
   the one striking thing is the data itself: real rows up top and the county map. */
.wk-ds2-wrap { width: var(--wk-rail, min(1104px, calc(100% - 64px))); margin-inline: auto; }

/* Hero: the claim on the left, real rows from the API on the right. */
.wk-ds2-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding: 64px 0 72px; }
/* The title sits at the same height on every page, whatever the sample beside it. */
.wk-ds2-hero-copy { padding-top: 40px; }
.wk-ds2-hero h1 { margin: 0 0 20px; color: #000; font: 450 clamp(38px, 4.4vw, 56px)/1.04 Inter, sans-serif; letter-spacing: -0.045em; }
.wk-ds2-lead { max-width: 46ch; margin: 0 0 28px; color: #454545; font: 400 17px/1.6 Inter, sans-serif; letter-spacing: -0.01em; }

.wk-ds2-sample { margin: 0; min-width: 0; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05); overflow: hidden; }
.wk-ds2-sample-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 16px; border-bottom: 1px solid #ebeae9; background: #fafaf9; }
.wk-ds2-sample-title { color: #171717; font: 500 13px/1 Inter, sans-serif; }
.wk-ds2-tabs { display: flex; gap: 2px; }
.wk-ds2-tabs button { padding: 12px 10px 11px; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; color: #737373; font: 500 12px/1 Inter, sans-serif; cursor: pointer; transition: color 150ms ease, border-color 150ms ease; }
.wk-ds2-tabs button:hover { color: #000; }
.wk-ds2-tabs button[aria-selected="true"] { border-bottom-color: #000; color: #000; }
.wk-ds2-tabs button:focus-visible { outline: 2px solid #093acd; outline-offset: -2px; }
.wk-ds2-json { max-height: 302px; margin: 0; padding: 16px 18px; overflow: auto; color: #2b2b2b; font-size: 12.5px; line-height: 1.7; }
.wk-ds2-sample figcaption { padding: 10px 16px; border-top: 1px solid #ebeae9; color: #737373; font: 400 12px/1.4 Inter, sans-serif; }

/* Three numbers, one line each. */
.wk-ds2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid #e5e5e5; }
.wk-ds2-stats > div { padding: 24px 24px; border-left: 1px solid #e5e5e5; }
.wk-ds2-stats > div:first-child { padding-left: 0; border-left: 0; }
.wk-ds2-stats dt { margin-bottom: 10px; color: #737373; font: 400 14px/1.4 Inter, sans-serif; }
.wk-ds2-stats dd { margin: 0; color: #000; font: 400 clamp(24px, 2.4vw, 30px)/1.1 Inter, sans-serif; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* Sections with a contents rail that follows the reader. */
.wk-ds2-layout { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 56px; padding: 96px 0 72px; }
.wk-ds2-toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; }
.wk-ds2-toc a { position: relative; padding: 6px 0 6px 14px; color: #737373; font: 400 13px/1.4 Inter, sans-serif; text-decoration: none; transition: color 150ms ease; }
.wk-ds2-toc a::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: transparent; transition: background-color 150ms ease; }
.wk-ds2-toc a:hover { color: #000; }
.wk-ds2-toc a[aria-current="true"] { color: #000; }
.wk-ds2-toc a[aria-current="true"]::before { background: #000; }
.wk-ds2-section { scroll-margin-top: 96px; padding-bottom: 56px; }
.wk-ds2-section + .wk-ds2-section { padding-top: 56px; border-top: 1px solid #ebeae9; }
.wk-ds2-section h2 { margin: 0 0 12px; color: #000; font: 450 clamp(24px, 2.4vw, 30px)/1.2 Inter, sans-serif; letter-spacing: -0.03em; }
.wk-ds2-intro { max-width: 64ch; margin: 0 0 24px; color: #454545; font: 400 16px/1.6 Inter, sans-serif; }
.wk-ds2-note { margin: 16px 0 0; color: #737373; font: 400 13px/1.5 Inter, sans-serif; }

/* The county map: shades say where it is held; hover names the county. */
.wk-ds2-map { position: relative; margin: 0; }
.wk-ds2-map-canvas { aspect-ratio: 975 / 610; border-radius: 6px; background: linear-gradient(90deg, #f4f4f3 0 100%); }
.wk-ds2-map-canvas.is-ready { background: none; }
.wk-ds2-map svg { display: block; width: 100%; height: auto; }
.wk-ds2-map .c { fill: #ececeb; stroke: #fff; stroke-width: 0.35; transition: fill 150ms ease; }
.wk-ds2-map .c.l1 { fill: #9bb6f0; }
.wk-ds2-map .c.l2 { fill: #093acd; }
.wk-ds2-map .c:hover { fill: #000; }
.wk-ds2-map .s { fill: none; stroke: #fff; stroke-width: 1.1; pointer-events: none; }
.wk-ds2-map-tip { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 4px; background: #16181b; color: #fff; font: 400 12px/1.4 Inter, sans-serif; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity 120ms ease; }
.wk-ds2-map-tip.is-visible { opacity: 1; }
.wk-ds2-map-tip strong { font-weight: 500; }
.wk-ds2-map figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 16px; color: #737373; font: 400 13px/1.5 Inter, sans-serif; }
.wk-ds2-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; color: #454545; }
.wk-ds2-legend li { display: inline-flex; align-items: center; gap: 8px; }
.wk-ds2-swatch { width: 12px; height: 12px; border-radius: 3px; background: #ececeb; }
.wk-ds2-swatch.is-2 { background: #093acd; }
.wk-ds2-swatch.is-1 { background: #9bb6f0; }
.wk-ds2-places { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; color: #454545; font: 400 14px/1.5 Inter, sans-serif; }
.wk-ds2-places strong { color: #000; font-weight: 500; }

/* Fields: name and meaning, one row each. */
.wk-ds2-fields { margin: 0; border-top: 1px solid #ebeae9; }
.wk-ds2-field { display: grid; grid-template-columns: minmax(160px, 0.36fr) minmax(0, 1fr); gap: 24px; padding: 14px 12px; border-bottom: 1px solid #ebeae9; border-radius: 4px; transition: background-color 120ms ease; }
.wk-ds2-field:hover { background: #fafaf9; }
.wk-ds2-field dt code { color: #000; font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.wk-ds2-field dd { margin: 0; color: #454545; font: 400 14px/1.55 Inter, sans-serif; }

.wk-ds2 .wk-code { max-width: none; }

@media (max-width: 1000px) {
  .wk-ds2-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 40px 0 48px; }
  .wk-ds2-hero-copy { padding-top: 0; }
}
@media (max-width: 900px) {
  .wk-ds2-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 56px; }
  .wk-ds2-toc { display: none; }
}
@media (max-width: 640px) {
  .wk-ds2-stats { grid-template-columns: minmax(0, 1fr); }
  .wk-ds2-stats > div { padding: 20px 0; border-left: 0; border-top: 1px solid #e5e5e5; }
  .wk-ds2-stats > div:first-child { border-top: 0; }
  .wk-ds2-field { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-ds2-map .c, .wk-ds2-toc a, .wk-ds2-faq-item summary svg, }

/* Hero sales: each one reads as a deal, with the lot from above. */
.wk-ds2-deals { margin: 0; padding: 6px 0; list-style: none; }
.wk-ds2-deal { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 16px; transition: background-color 150ms ease; }
.wk-ds2-deal:hover { background: #fafaf9; }
.wk-ds2-deal img { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; background: #f1f1f0; }
.wk-ds2-deal-what, .wk-ds2-deal-price { display: grid; gap: 3px; min-width: 0; }
.wk-ds2-deal-what strong { overflow: hidden; color: #000; font: 500 15px/1.3 Inter, sans-serif; letter-spacing: -0.015em; text-overflow: ellipsis; white-space: nowrap; }
.wk-ds2-deal-what span, .wk-ds2-deal-price span { overflow: hidden; color: #737373; font: 400 13px/1.35 Inter, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.wk-ds2-deal-price { text-align: right; }
.wk-ds2-deal-price strong { color: #000; font: 450 20px/1.15 Inter, sans-serif; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* Coverage: a heading row with its view switch, one line that says it, then the markets. */
.wk-ds2-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.wk-ds2-section-head h2 { margin: 0; }
.wk-ds2-tabs--pill { gap: 0; padding: 3px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fafaf9; }
.wk-ds2-tabs--pill button { margin: 0; padding: 7px 12px; border: 0; border-radius: 4px; }
.wk-ds2-tabs--pill button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.wk-ds2-headline { max-width: 60ch; margin: 0 0 24px; color: #454545; font: 400 16px/1.6 Inter, sans-serif; }
.wk-ds2-markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin: 0; padding: 0; list-style: none; border-top: 1px solid #ebeae9; }
/* Each market: the city over its county on the left, the status on the right; either side wraps inside its own column. */
.wk-ds2-markets li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid #ebeae9; font: 400 14px/1.4 Inter, sans-serif; }
.wk-ds2-market { min-width: 0; color: #000; }
.wk-ds2-market small { display: block; margin-top: 2px; color: #737373; font-size: 12px; }
.wk-ds2-market-status { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; color: #454545; text-align: right; }
.wk-ds2-market-status i { flex: none; }
.wk-ds2-market-status i { width: 8px; height: 8px; border-radius: 50%; background: #d4d4d2; }
.wk-ds2-markets .is-2 .wk-ds2-market-status i { background: #093acd; }
.wk-ds2-markets .is-1 .wk-ds2-market-status i { background: #9bb6f0; }
.wk-ds2-markets .is-0 .wk-ds2-market-status { color: #a3a3a3; }
#coverage .wk-ds2-legend { margin-top: 16px; font: 400 13px/1.5 Inter, sans-serif; }
/* Switching between the list and the map: the box eases to the new height while the new view fades in. */
.wk-ds2-panels { overflow: hidden; transition: height 320ms cubic-bezier(.22, 1, .36, 1); }
.wk-ds2-panels > [data-panel] { transition: opacity 260ms ease, transform 320ms cubic-bezier(.22, 1, .36, 1); }
.wk-ds2-panels > [data-panel].is-entering { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: reduce) { .wk-ds2-panels, .wk-ds2-panels > [data-panel] { transition: none; } }

/* The FAQs follow the article, in the homepage's section, inside the rails. */
.wk-ds2-faq { border-top: 1px solid #e5e5e5; padding-block: clamp(56px, 7vw, 96px); }
.wk-ds2-faq .wk-faq-answer { max-width: 760px; }
@media (max-width: 640px) {
  .wk-ds2-markets { grid-template-columns: minmax(0, 1fr); }
  .wk-ds2-deal { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px; }
  .wk-ds2-deal img { width: 48px; height: 48px; }
  .wk-ds2-deal-price strong { font-size: 17px; }
  .wk-ds2-section-head { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  /* Phones: the price sits under the address so neither truncates. */
  .wk-ds2-deal { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
  .wk-ds2-deal-price { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; text-align: left; }
  .wk-ds2-deal-price strong { font-size: 16px; }
}

/* FAQs here: the question keeps its colour on hover, and an answer opens with one smooth movement where the browser
   can animate to auto height (elsewhere it opens at once, as the homepage's does). */
.wk-ds2-faq summary:hover h3 { color: inherit; }
.wk-ds2-faq .wk-faq-item { interpolate-size: allow-keywords; }
.wk-ds2-faq .wk-faq-item::details-content { height: 0; overflow: clip; transition: height 260ms cubic-bezier(.2, .8, .2, 1), content-visibility 260ms allow-discrete; }
.wk-ds2-faq .wk-faq-item[open]::details-content { height: auto; }
@media (prefers-reduced-motion: reduce) { .wk-ds2-faq .wk-faq-item::details-content { transition: none; } }

/* The close: for the reader who got this far and is convinced. */
.wk-ds2-cta { border-top: 1px solid #e5e5e5; padding-block: clamp(64px, 8vw, 112px); }
.wk-ds2-cta-inner { width: var(--wk-rail, min(1104px, calc(100% - 64px))); margin-inline: auto; text-align: center; }
.wk-ds2-cta h2 { margin: 0 0 14px; color: #000; font: 450 clamp(30px, 3.6vw, 44px)/1.12 Inter, sans-serif; letter-spacing: -0.04em; }
.wk-ds2-cta p { margin: 0 0 28px; color: #737373; font: 400 16px/1.6 Inter, sans-serif; }
.wk-ds2-cta .wk-sol-actions { justify-content: center; }
.wk-ds2-sample-bar { padding: 12px 16px; }

/* Map heroes: the layer itself, edge to edge in the card, with its legend underneath. */
.wk-ds2-sample--map img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; border-bottom: 1px solid #ebeae9; }
.wk-ds2-map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 12px 16px; list-style: none; color: #454545; font: 400 12.5px/1.4 Inter, sans-serif; }
.wk-ds2-map-legend li { display: inline-flex; align-items: center; gap: 7px; }
.wk-ds2-map-legend svg { width: 10px; height: 10px; flex: none; }
.wk-ds2-sample--map figcaption { border-top: 0; }

/* Aerial wall: twelve real lots, tight, like contact prints. */
.wk-ds2-aerials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 3px; background: #fff; }
.wk-ds2-aerials img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; transition: transform 300ms cubic-bezier(.2, .8, .2, 1); }
.wk-ds2-aerials img:hover { transform: scale(1.04); }

/* Research trace: steps down a line, the last one still working. */
.wk-ds2-trace-time { color: #737373; font: 400 12px/1 Inter, sans-serif; }
.wk-ds2-trace { --trace-h: 168px; position: relative; margin: 0; padding: 14px 16px 6px; list-style: none; }
.wk-ds2-trace::before { content: ""; position: absolute; left: 35px; top: 34px; bottom: 34px; width: 1px; background: #e5e5e5; }
.wk-ds2-trace li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 0; }
.wk-ds2-trace img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.wk-ds2-trace-dot { justify-self: center; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #16181b; box-shadow: 0 0 0 1px #d4d4d2; }
.wk-ds2-trace .is-pending .wk-ds2-trace-dot { background: #fff; box-shadow: 0 0 0 1px #093acd; }
.wk-ds2-trace li > div { display: grid; gap: 2px; min-width: 0; }
.wk-ds2-trace-label { color: #737373; font: 400 12px/1.3 Inter, sans-serif; }
.wk-ds2-trace strong { overflow: hidden; color: #000; font: 500 15px/1.3 Inter, sans-serif; letter-spacing: -0.015em; text-overflow: ellipsis; white-space: nowrap; }
.wk-ds2-trace li > div > span:last-child:not(.wk-ds2-trace-label) { color: #737373; font: 400 13px/1.35 Inter, sans-serif; }
.wk-ds2-trace .is-pending strong { color: #093acd; }

/* How it's different: two columns, ours on the right. */
.wk-ds2-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wk-ds2-compare > div { padding: 20px 22px; border: 1px solid #ebeae9; border-radius: 6px; background: #fafaf9; }
.wk-ds2-compare > div.is-ours { border-color: #16181b; background: #fff; }
.wk-ds2-compare h3 { margin: 0 0 12px; color: #000; font: 500 15px/1.3 Inter, sans-serif; }
.wk-ds2-compare ul { display: grid; gap: 8px; margin: 0; padding: 0 0 0 18px; color: #454545; font: 400 14px/1.5 Inter, sans-serif; }
.wk-ds2-compare > div:not(.is-ours) ul { color: #737373; }

@media (prefers-reduced-motion: reduce) { .wk-ds2-aerials img { transition: none; } }
@media (max-width: 640px) { .wk-ds2-compare { grid-template-columns: minmax(0, 1fr); } .wk-ds2-aerials { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Ownership graph: drawn from the centre outward, once, then still. */
.wk-ds2-graph { display: block; width: 100%; height: auto; padding: 4px 8px 0; }
.wk-ds2-graph .e1 { fill: none; stroke: #16181b; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wk-ds2-graph .e2 { fill: none; stroke: #b9c7ee; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wk-ds2-graph .n1 { fill: #16181b; stroke: #fff; stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wk-ds2-graph .n2 { fill: #093acd; stroke: #fff; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; cursor: default; transition: fill 150ms ease; }
.wk-ds2-graph .n2:hover { fill: #16181b; }
.wk-ds2-graph .hub { fill: #093acd; }
.wk-ds2-graph .hub-ring { fill: none; stroke: #093acd; stroke-width: 1; opacity: .25; }
.wk-ds2-graph .l1 { fill: #16181b; font: 500 12.5px Inter, sans-serif; letter-spacing: -0.01em; opacity: 0; }
.wk-ds2-graph .l1 .c { fill: #737373; font-weight: 400; }
.wk-ds2-graph .hub-l { fill: #000; font: 500 13px Inter, sans-serif; letter-spacing: -0.01em; }
.wk-ds2-graph .hub-d { fill: #737373; font: 400 11.5px Inter, sans-serif; }
.wk-ds2-graph.is-growing .e1, .wk-ds2-graph.is-growing .e2 { animation: wk-ds2-draw 700ms cubic-bezier(.2, .8, .2, 1) both; }
.wk-ds2-graph.is-growing .n1, .wk-ds2-graph.is-growing .n2 { animation: wk-ds2-pop 420ms cubic-bezier(.2, 1.4, .4, 1) both; }
.wk-ds2-graph.is-growing .l1 { animation: wk-ds2-fade 500ms ease both; }
@keyframes wk-ds2-draw { to { stroke-dashoffset: 0; } }
@keyframes wk-ds2-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes wk-ds2-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .wk-ds2-graph .e1, .wk-ds2-graph .e2 { stroke-dashoffset: 0; } .wk-ds2-graph .n1, .wk-ds2-graph .n2, .wk-ds2-graph .l1 { opacity: 1; }
  .wk-ds2-graph.is-growing * { animation: none !important; }
}
/* Labels sit on a white halo so spokes never cut through a name. */
.wk-ds2-graph text { paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }

/* Wetlands: the river runs off the right edge, down past the hero, with light moving downstream on the water. */
.wk-ds2-hero--river { position: relative; isolation: isolate; min-height: 560px; }
.wk-ds2-river { position: absolute; z-index: -1; top: -96px; right: calc((100% - 100vw) / 2 - 3vw); width: min(44vw, 620px); aspect-ratio: 630 / 1264; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 48%, transparent 82%), linear-gradient(90deg, transparent 0, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 48%, transparent 82%), linear-gradient(90deg, transparent 0, #000 22%); mask-composite: intersect; }
.wk-ds2-river img { display: block; width: 100%; height: 100%; }
.wk-ds2-river-glint { position: absolute; inset: 0; mix-blend-mode: screen; opacity: .55;
  background: repeating-linear-gradient(172deg, transparent 0 46px, rgba(210, 240, 255, .55) 52px, transparent 60px 118px); background-size: 100% 360px;
  -webkit-mask: url(/data/wetlands-river-mask.png) center / 100% 100% no-repeat; mask: url(/data/wetlands-river-mask.png) center / 100% 100% no-repeat; mask-mode: alpha;
  animation: wk-ds2-glint 7s linear infinite; }
@keyframes wk-ds2-glint { from { background-position: 0 0; } to { background-position: 0 360px; } }
@media (prefers-reduced-motion: reduce) { .wk-ds2-river-glint { animation: none; opacity: 0; } }
@media (max-width: 1000px) { .wk-ds2-river { width: 70vw; top: -40px; opacity: .35; } .wk-ds2-hero--river { min-height: 0; } }

/* Drawn motifs (tools/data/motifs.mjs): lines draw along their length, marks pop in, once, then rest. */
.wk-ds2-motif { margin: 0; min-width: 0; }
.wk-ds2-motif-svg { display: block; width: 100%; height: auto; overflow: visible; }
.wk-ds2-motif-svg .d { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wk-ds2-motif-svg .p { opacity: 0; transform-box: fill-box; transform-origin: center; }
.wk-ds2-motif-svg.is-growing .d { animation: wk-ds2-draw 1.6s cubic-bezier(.45, .05, .25, 1) both; }
.wk-ds2-motif-svg.is-growing .p { animation: wk-ds2-pop 520ms cubic-bezier(.2, 1.3, .4, 1) both; }
.wk-ds2-motif-svg .water { stroke: #dfe8fb; stroke-width: 22; }
.wk-ds2-motif-svg .water.thin { stroke-width: 10; }
.wk-ds2-motif-svg .line { stroke: #093acd; stroke-width: 1.5; }
.wk-ds2-motif-svg .marsh { fill: none; stroke: #16181b; stroke-width: 1.2; stroke-linecap: round; }
.wk-ds2-motif-svg .lot { fill: rgba(9, 58, 205, .05); stroke: #16181b; stroke-width: 1.2; stroke-dasharray: 4 4; }
.wk-ds2-motif-svg .tag { fill: #16181b; font: 500 12.5px Inter, sans-serif; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: reduce) {
  .wk-ds2-motif-svg .d { stroke-dashoffset: 0; } .wk-ds2-motif-svg .p { opacity: 1; } .wk-ds2-motif-svg.is-growing * { animation: none !important; }
}
/* Motif palette: ink for structure, ink at 35% for the secondary, blue on one element, white knockouts. */
.wk-ds2-motif-svg .ink { stroke: #16181b; stroke-width: 1.5; }
.wk-ds2-motif-svg .faint { stroke: rgba(22, 24, 27, .35); stroke-width: 1; }
.wk-ds2-motif-svg .blue { stroke: #093acd; stroke-width: 1.8; }
.wk-ds2-motif-svg .thin { stroke-width: 1; }
.wk-ds2-motif-svg .dashed { stroke-dasharray: 5 5; }
.wk-ds2-motif-svg.is-growing .dashed { animation-name: wk-ds2-fade; }
.wk-ds2-motif-svg .dashed { stroke-dashoffset: 0; opacity: 0; }
.wk-ds2-motif-svg.is-growing .fast { animation-duration: .6s; }
.wk-ds2-motif-svg .dots { stroke: rgba(22, 24, 27, .45); stroke-width: 3.2; }
.wk-ds2-motif-svg .road { stroke: #fff; stroke-width: 9; filter: drop-shadow(0 0 0 #16181b); }
.wk-ds2-motif-svg .ink-s, .wk-ds2-motif-svg .blue-s { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.wk-ds2-motif-svg .ink-s { stroke: #16181b; } .wk-ds2-motif-svg .blue-s { stroke: #093acd; }
.wk-ds2-motif-svg .ink-f { fill: #16181b; } .wk-ds2-motif-svg .blue-f { fill: #093acd; } .wk-ds2-motif-svg .faint-f { fill: rgba(22, 24, 27, .35); }
.wk-ds2-motif-svg .white-s { fill: #fff; stroke: #16181b; stroke-width: 1.5; }
.wk-ds2-motif-svg .white-k { fill: #fff; stroke: none; }
.wk-ds2-motif-svg .wash { fill: rgba(9, 58, 205, .06); }
.wk-ds2-motif-svg .faint-t { fill: #737373; font-weight: 400; }
.wk-ds2-motif-svg .blue-t { fill: #093acd; }
.wk-ds2-motif-svg .small { font-size: 11px; }
.wk-ds2-motif-svg .tie { stroke: #16181b; stroke-width: 1.4; opacity: .55; }
.wk-ds2-motif-svg text { paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
/* Motifs draw quicker and lighter: under a second per line, short staggers. */
.wk-ds2-motif-svg.is-growing .d { animation-duration: .9s; }
.wk-ds2-motif-svg.is-growing .fast { animation-duration: .4s; }
.wk-ds2-motif-svg.is-growing .p { animation-duration: .3s; animation-timing-function: ease-out; }

/* Zoning: districts from the zoning map, coloured by broad class and labelled with their own codes. */
.wk-ds2-sample--svg { line-height: 0; }
.wk-ds2-zoning-svg { display: block; width: 100%; height: auto; }
.wk-ds2-zoning-svg .z-water { fill: #d7e4f2; }
.wk-ds2-zoning-svg .z-d path { stroke: #fff; stroke-width: .7; stroke-linejoin: round; }
.wk-ds2-zoning-svg .z-r { fill: #f7e3a4; }
.wk-ds2-zoning-svg .z-m { fill: #f5cd98; }
.wk-ds2-zoning-svg .z-c { fill: #f2aaa6; }
.wk-ds2-zoning-svg .z-o { fill: #eeb3c8; }
.wk-ds2-zoning-svg .z-i { fill: #c8bbf0; }
.wk-ds2-zoning-svg .z-p { fill: #a9dbb3; }
.wk-ds2-zoning-svg .z-g { fill: #bcd3ea; }
.wk-ds2-zoning-svg .z-x { fill: #e4e3df; }
.wk-ds2-zoning-svg .z-l text { fill: #2b2b2b; font: 500 18px Inter, sans-serif; letter-spacing: 0; text-anchor: middle; paint-order: stroke; stroke: rgba(255, 255, 255, .6); stroke-width: 3.5px; pointer-events: none; }

/* Rows with no picture (contractor licences): the name and the number, full width. The tabbed sample keeps the
   bar's tab height. */
.wk-ds2-deals--text .wk-ds2-deal { grid-template-columns: minmax(0, 1fr) auto; padding-block: 12px; }
.wk-ds2-sample--tabs .wk-ds2-sample-bar { padding: 0 8px 0 16px; }
@media (max-width: 640px) {
  .wk-ds2-deals--text .wk-ds2-deal { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .wk-ds2-deals--text .wk-ds2-deal-price { grid-column: 1; }
}
