/* Hallmark · shape: kept below the hero · genre: modern-minimal · theme: furrow (by request, hero only) · redesign: full (hero only) · job: sign up · draw: none, posture set by the hero brief
 * hero: Settled · nav: kept (GeneratePress bar) · footer: kept · imagery: none; a generated survey map of the ten country pools · signature: the ten country pools surveyed as contour hills, one ring per 500k IPs, the open pool edged in sky blue with its notebook card
 * axes: light/grotesk-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: P, a location headline argues less than a price would; the map makes the claim provable by showing each pool's size as terrain */
/* Hallmark · brand · colours remapped to ProxyBase's GeneratePress palette: slate inks #12141a/#242933/#363d4d, paper #f7f9fb, sky #60B5FF, violet #6e61ff, pale blue #AFDDFF */
/* Hallmark · answered F15 · the hero carries furrow's Red Hat faces and the sections below keep Cobalt's until the rest of the page follows; one container width (the page's 1200px) and one primary key style inside the hero */
/* Hallmark · answered F20 · the five checks and the Mark T. quote stay in the strip under the hero, as on the Counter build */

/* ProxyBase Page CSS: furrow.css
 * Loads on Cobalt pages (front page, pb-lab-*) whose content has [proxybase_pool_survey], after homepage.css.
 * The hero and proof-strip blocks (pb-furrow, pb-proof) carry their own GenerateBlocks styles. This file styles what is not a block:
 * the [proxybase_pool_survey] shortcode markup (class-proxybase-pool-survey.php), the canvas added by assets/js/furrow-map.js, and its reveal state. */

/* ---------- Hero ---------- */
.proxybase-cobalt .pb-furrow__map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* ---------- The survey: stations on the right six columns ---------- */
/* The map never pushes the hero past the first screen: on short screens it shrinks with the viewport. */
.proxybase-cobalt .pb-survey { position: relative; min-height: min(560px, calc(100svh - var(--nav-h, 85px) - 2 * var(--space-xl) - 2px)); height: 100%; margin: 0; }
.proxybase-cobalt .pb-survey__map { position: absolute; inset: 0; }
.proxybase-cobalt .pb-furrow .pb-survey__stations { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.proxybase-cobalt .pb-furrow .pb-survey__station { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; margin: 0; }
.proxybase-cobalt .pb-survey__pin { position: absolute; left: 0; top: 0; translate: -50% -50%; width: 12px; height: 12px; border-radius: 50%; background: var(--color-ink); box-shadow: 0 0 0 2px var(--color-paper-2); }
.proxybase-cobalt .pb-survey__tag { position: absolute; top: 0; left: var(--space-md); translate: 0 -50%; display: inline-flex; align-items: baseline; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink); white-space: nowrap; font-size: var(--text-xs); font-weight: 500; line-height: 1.2; color: var(--color-ink); }
.proxybase-cobalt .pb-survey__num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.proxybase-cobalt .pb-survey__tag .pb-survey__num { font-size: 0.78rem; font-weight: 400; }
.proxybase-cobalt .pb-survey__station[data-side="left"] .pb-survey__tag { left: auto; right: var(--space-md); }
.proxybase-cobalt .pb-survey__station.is-open .pb-survey__pin { width: 16px; height: 16px; background: var(--color-accent); box-shadow: 0 0 0 1px var(--color-ink), 0 0 0 4px var(--color-paper-2); }
.proxybase-cobalt .pb-survey__station.is-open .pb-survey__tag { background: var(--color-ink); color: var(--color-paper); }
.proxybase-cobalt .pb-survey__cap { position: absolute; left: 0; bottom: 0; max-width: 24ch; font-size: var(--text-xs); line-height: 1.4; color: var(--color-muted); }

/* The notebook card */
.proxybase-cobalt .pb-survey__entry { position: absolute; right: 0; bottom: 0; width: 292px; border-radius: var(--radius-entry); background: var(--color-paper-2); box-shadow: 0 0 0 1px var(--color-ink), var(--shadow-lift); overflow: hidden; }
.proxybase-cobalt .pb-survey__head { display: grid; gap: var(--space-2xs); padding: var(--space-sm) var(--space-md) var(--space-md); background: var(--color-ink); color: var(--color-paper); }
.proxybase-cobalt .pb-furrow .pb-survey__kind { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: var(--text-xs); font-weight: 500; color: var(--color-paper); }
.proxybase-cobalt .pb-survey__kind .pb-survey__num { color: var(--color-paper-3); font-weight: 400; }
.proxybase-cobalt .pb-furrow .pb-survey__fig { display: flex; align-items: baseline; gap: var(--space-xs); margin: 0; color: var(--color-paper); }
.proxybase-cobalt .pb-survey__fig b { font: 600 2.75rem/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proxybase-cobalt .pb-survey__fig span { font-size: var(--text-sm); color: var(--color-paper-3); }
.proxybase-cobalt .pb-furrow .pb-survey__cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: linear-gradient(var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, linear-gradient(90deg, var(--color-grid) 1px, transparent 1px) 0 0 / 8px 8px, var(--color-paper-2); }
.proxybase-cobalt .pb-survey__cells > div { padding: var(--space-xs) var(--space-sm) var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-ink); min-width: 0; }
.proxybase-cobalt .pb-survey__cells > div:nth-child(odd) { border-right: var(--rule-hair) solid var(--color-ink); }
.proxybase-cobalt .pb-furrow .pb-survey__cells dt { margin: 0; font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); line-height: 1.3; }
.proxybase-cobalt .pb-furrow .pb-survey__cells dd { margin: 0; font-weight: 500; line-height: 1.35; color: var(--color-ink); overflow-wrap: break-word; }
.proxybase-cobalt .pb-furrow .pb-survey__cells dd.is-any { color: var(--color-muted); font-weight: 400; }
.proxybase-cobalt .pb-survey__foot { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: stretch; }
.proxybase-cobalt .pb-furrow .pb-survey__key { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0; border: 0; border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.proxybase-cobalt .pb-furrow .pb-survey__key:first-child { border-right: var(--rule-hair) solid var(--color-ink); }
.proxybase-cobalt .pb-furrow .pb-survey__key:last-child { border-left: var(--rule-hair) solid var(--color-ink); }
.proxybase-cobalt .pb-furrow .pb-survey__key:hover { background: var(--color-paper-3); color: var(--color-ink); }
.proxybase-cobalt .pb-furrow .pb-survey__key:active { transform: translateY(1px); }
.proxybase-cobalt .pb-furrow .pb-survey__key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -4px; }
.proxybase-cobalt .pb-furrow .pb-survey__key:disabled { opacity: 0.55; cursor: not-allowed; }
.proxybase-cobalt .pb-survey__key svg { width: 20px; height: 20px; }
.proxybase-cobalt .pb-furrow .pb-survey__next { display: flex; align-items: center; justify-content: center; margin: 0; font-size: var(--text-xs); color: var(--color-muted); }

/* Once, in view: pins land in pool order, then the card opens. Hidden only when script runs (html.has-js). */
html.has-js .proxybase-cobalt .pb-survey__station { opacity: 0; transform: translateY(-6px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 40ms); }
html.has-js .proxybase-cobalt .pb-survey__entry { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: 440ms; }
html.has-js .proxybase-cobalt .pb-survey.is-in .pb-survey__station, html.has-js .proxybase-cobalt .pb-survey.is-in .pb-survey__entry { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.has-js .proxybase-cobalt .pb-survey__station, html.has-js .proxybase-cobalt .pb-survey__entry { opacity: 1; transform: none; transition: none; }
  .proxybase-cobalt .pb-furrow .pb-survey__key { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 75rem) {
  .proxybase-cobalt .pb-survey__entry { width: 256px; }
  .proxybase-cobalt .pb-survey__fig b { font-size: 2.25rem; }
}
/* Short laptop screens: the map is shorter, so the card sheds its four cells and stays clear of the pins. */
@media (min-width: 60.01rem) and (max-height: 820px) {
  .proxybase-cobalt .pb-furrow .pb-survey__cells { display: none; }
  .proxybase-cobalt .pb-survey__head { border-bottom: var(--rule-hair) solid var(--color-ink); }
}
@media (max-width: 60rem) {
  /* Stacked: the map takes whatever height is left so the hero ends at the bottom of the first screen. */
  .proxybase-cobalt .pb-survey { height: auto; min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--space-sm); }
  .proxybase-cobalt .pb-survey__map { position: relative; inset: auto; flex: 1 1 auto; min-height: 220px; }
  .proxybase-cobalt .pb-survey__cap { position: static; }
  .proxybase-cobalt .pb-survey__entry { position: relative; width: 100%; max-width: 360px; margin-inline: auto; }
}
@media (max-width: 40rem) {
  .proxybase-cobalt .pb-survey__tag { padding: var(--space-2xs) var(--space-sm); font-size: 0.75rem; }
  .proxybase-cobalt .pb-survey__tag .pb-survey__num { display: none; }
  .proxybase-cobalt .pb-survey__station.is-open .pb-survey__tag .pb-survey__num { display: inline; }
  /* Phones: no pool card; the map and its tags carry the pools (owner request). */
  .proxybase-cobalt .pb-survey__entry { display: none; }
}
