/* ChalkLine homepage */

:root {
  /* Brand (fixed) */
  --orange: #FF6700;
  --paper: #F9F7F8;
  --ink: #171823;

  /* Derived */
  --paper-2: rgba(249, 247, 248, 0.74);
  --paper-3: rgba(249, 247, 248, 0.22);
  --ink-2: rgba(23, 24, 35, 0.76);
  --ink-3: rgba(23, 24, 35, 0.2);

  /* Type: stand-ins. When licensed files arrive, add @font-face for
     "Univers Condensed" / "Frutiger" and put them first in these stacks. */
  --font-head: "Univers Condensed", "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Frutiger", "Hind", "Segoe UI", sans-serif;

  --fs-hero: clamp(3.2rem, 1rem + 5.6vw, 6.5rem);
  --fs-h2: clamp(2.6rem, 1.5rem + 3.8vw, 5rem);
  --fs-h3: clamp(1.6rem, 1.15rem + 1.3vw, 2.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  /* 8px module */
  --m: 8px;
  --gutter: clamp(16px, 4vw, 64px);
  --gap: clamp(16px, 2vw, 24px);
  --section-y: clamp(88px, 11vw, 168px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Chalk / ink grain, used as a mask */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 3.2 0 0 0 -0.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--orange);
  scrollbar-color: var(--ink) var(--paper);
}

::selection { background: var(--orange); color: var(--ink); }

h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }

h1, h2, h3,
.stamp, .btn, .station-num, .sheet-title, .count-num, .map-stamp, .state-n, .wordmark-type {
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 0.92; letter-spacing: 0.005em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 0.95; }
p { text-wrap: pretty; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: square; flex: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--orange); color: var(--ink); padding: 12px 16px; font-weight: 600;
}
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Fields ---------------------------------------------------------------- */

.dark {
  position: relative;
  background-color: var(--ink);
  background-image: var(--tooth);
  color: var(--paper);
  isolation: isolate;
}
.light { background: var(--paper); color: var(--ink); }

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  background: var(--orange);
  color: var(--ink);
  font-size: 1.375rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.btn .icon { transition: transform 0.3s var(--ease-out); }
.btn:hover { background: #ff7a1f; }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { cursor: progress; background: #ff8c42; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 1.125rem; }
.btn-block { width: 100%; padding: 0 20px; }

/* Stamp (grade-stamp block) */
.stamp {
  display: inline-block;
  padding: 6px 12px 4px;
  border: 2px solid currentColor;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1;
  -webkit-mask-image: var(--grain);
  mask-image: var(--grain);
  -webkit-mask-size: 180px;
  mask-size: 180px;
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--paper-3);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--paper);
}
.wordmark-type { font-size: 2rem; line-height: 0.85; letter-spacing: 0.01em; }
.wordmark-line { color: var(--orange); }
.wordmark-rule { display: block; height: 4px; border-radius: 4px; background: #fff; width: 104%; margin-left: -2%; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a {
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  color: var(--paper-2);
  padding: 8px 0;
  background: linear-gradient(var(--paper), var(--paper)) left bottom / 0 2px no-repeat;
  transition: color 0.2s, background-size 0.3s var(--ease-out);
}
.nav a:hover { color: var(--paper); background-size: 100% 2px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
}

/* Chalk line (snap) ----------------------------------------------------- */

.snap {
  position: relative;
  height: 40px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  pointer-events: none;
  color: var(--paper);
}
.snap.on-light { color: var(--ink); }
.snap-mark {
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 4px;
  margin-top: -2px;
  background: currentColor;
  -webkit-mask-image: var(--grain);
  mask-image: var(--grain);
  -webkit-mask-size: 120px 40px;
  mask-size: 120px 40px;
  opacity: 0.92;
}
.snap-string {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  opacity: 0;
}
.snap-string path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.snap-dust {
  position: absolute;
  top: 50%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}
/* armed state: before a line snaps, only the string is showing */
.js .snap:not(.snapped) .snap-mark { opacity: 0; }
.js .snap.armed .snap-string { opacity: 0.85; }
.snap-mark { transition: opacity 0.12s linear; }

/* Tally marks ----------------------------------------------------------- */

.tally { display: inline-block; line-height: 0; }
.tally svg { display: block; overflow: visible; height: 100%; width: auto; }
.tally path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 3.5;
}

/* Hero ------------------------------------------------------------------ */

.hero { padding-block: clamp(40px, 4.5vw, 72px) clamp(56px, 6vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: start;
}
.hero-title {
  grid-column: 1 / 9;
  grid-row: 1;
  font-size: var(--fs-hero);
  line-height: 0.86;
  letter-spacing: 0;
}
.hero-lede {
  grid-column: 1 / 7;
  grid-row: 2;
  margin-top: clamp(24px, 2.5vw, 40px);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  line-height: 1.5;
  color: var(--paper-2);
  max-width: 34em;
}
.hero-snap { grid-column: 1 / -1; grid-row: 3; margin-top: clamp(32px, 4vw, 64px); }
.hero-count {
  grid-column: 1 / 8;
  grid-row: 4;
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(24px, 3vw, 48px);
  row-gap: 16px;
  align-items: center;
}
.count-figure { display: flex; align-items: center; gap: 20px; }
.count-num { font-size: clamp(4rem, 2.4rem + 4.8vw, 7.5rem); line-height: 0.82; color: var(--orange); }
.count-label { flex: none; white-space: nowrap; font-family: var(--font-head); font-stretch: 62%; font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.25rem); line-height: 0.95; letter-spacing: 0.02em; color: var(--paper); }
.tally-hero { height: clamp(40px, 4.4vw, 60px); color: var(--paper); }
.count-key { font-size: 0.9375rem; color: var(--paper-2); }
.count-key-sep { margin-inline: 6px; color: var(--paper-3); }

.hero-sheet {
  grid-column: 9 / 13;
  grid-row: 1 / 6;
  z-index: 2;
}
.hero-more {
  grid-column: 1 / 8;
  grid-row: 5;
  justify-self: start;
  margin-top: clamp(32px, 4vw, 56px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 2px solid var(--paper-3);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.hero-more:hover { border-color: var(--paper); }
.hero-more .icon { width: 1.1em; height: 1.1em; }

/* Estimate sheet (form) ------------------------------------------------- */

.sheet {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 2.4vw, 36px);
  box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.55), 0 8px 16px -8px rgba(0, 0, 0, 0.3);
}
/* layout corner marks, the area marked out before a cut */
.sheet::before,
.sheet::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 0 solid var(--orange);
  pointer-events: none;
}
.sheet::before { top: -10px; left: -10px; border-top-width: 3px; border-left-width: 3px; }
.sheet::after { bottom: -10px; right: -10px; border-bottom-width: 3px; border-right-width: 3px; }

.sheet-title {
  font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem);
  line-height: 0.95;
  margin-bottom: 20px;
}
.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label,
.field legend {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.opt { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 8px 0 6px;
  resize: vertical;
  transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { min-height: 64px; }
.field input:hover,
.field textarea:hover { background: rgba(23, 24, 35, 0.035); }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
::placeholder { color: rgba(23, 24, 35, 0.68); }

fieldset.trade { border: 0; padding: 0; margin: 0; }
.trade legend { padding: 0; margin-bottom: 8px; }
.trade-options { display: grid; grid-template-columns: repeat(4, 1fr); }
.trade-options label { position: relative; cursor: pointer; }
.trade-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.trade-options span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 2px solid var(--ink);
  margin-left: -2px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}
.trade-options label:first-child span { margin-left: 0; }
.trade-options label:hover span { background: rgba(23, 24, 35, 0.06); }
.trade-options input:checked + span { background: var(--ink); color: var(--paper); }
.trade-options input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; position: relative; z-index: 1; }

.field-error {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.field-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  background: var(--orange);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}
.field.invalid .field-error { display: flex; }
.field.invalid input { border-bottom-style: dashed; border-bottom-width: 3px; }

.form-note { font-size: 0.875rem; color: var(--ink-2); text-align: center; }

.form-done { display: grid; gap: 12px; padding-block: 8px; }
.form-done .done-check { width: 56px; height: 56px; color: var(--ink); }
.form-done .done-check path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form-done h3 { font-size: clamp(1.75rem, 1.3rem + 1vw, 2.25rem); }
.form-done p { color: var(--ink-2); }
.form-done .demo-note { font-size: 0.8125rem; border-top: 1px solid var(--ink-3); padding-top: 12px; }

/* Problem --------------------------------------------------------------- */

.problem { padding-block: var(--section-y) calc(var(--section-y) * 0.75); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(40px, 5vw, 72px);
}
.problem-head { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.problem-head p { color: var(--ink-2); max-width: 30em; font-size: 1.125rem; }
.punch { grid-column: 7 / 13; display: grid; }
.punch li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding-block: 24px;
  border-top: 1px solid var(--ink-3);
}
.punch li:last-child { border-bottom: 1px solid var(--ink-3); }
.punch p { font-size: 1.125rem; line-height: 1.5; color: var(--ink-2); }
.punch strong {
  display: block;
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 6px;
}
.xmark { display: block; width: 40px; height: 40px; color: var(--ink); margin-top: 2px; }
.xmark svg { width: 100%; height: 100%; overflow: visible; }
.xmark path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; }

.problem-close {
  grid-column: 1 / 9;
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-h3);
  line-height: 1;
  text-wrap: balance;
}

.snap-section { background: var(--paper); height: 56px; }

/* How it works ---------------------------------------------------------- */

.how { padding-block: var(--section-y); }
.how-title { max-width: 10em; }

.stations {
  --tick-y: 0px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(56px, 6vw, 96px);
  padding-top: 48px;
}
/* the snapped line the stations sit on */
.stations::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--paper);
  -webkit-mask-image: var(--grain);
  mask-image: var(--grain);
  -webkit-mask-size: 120px 30px;
  mask-size: 120px 30px;
}
.station { position: relative; display: grid; gap: 12px; align-content: start; padding-right: 8px; }
.station-tick {
  position: absolute;
  left: 0; top: -60px;
  width: 3px; height: 28px;
  background: var(--orange);
}
.station-num { font-size: 1rem; letter-spacing: 0.1em; color: var(--orange); }
.station h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
.station p { color: var(--paper-2); max-width: 26em; }

.channels { margin-top: clamp(88px, 10vw, 152px); }
.channels-title { font-size: var(--fs-h3); max-width: 14em; }
.channel-list { margin-top: 32px; border-top: 1px solid var(--paper-3); }
.channel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  align-items: center;
  padding-block: 28px;
  border-bottom: 1px solid var(--paper-3);
  transition: background-color 0.25s;
}
.channel dt { grid-column: 1 / 6; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.channel .stamp { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); padding: 8px 14px 6px; }
.channel-sub { font-size: var(--fs-small); color: var(--paper-2); }
.channel dd { grid-column: 6 / 13; font-size: 1.125rem; color: var(--paper-2); max-width: 36em; }
.channel:hover { background: rgba(249, 247, 248, 0.04); }

/* Where we work --------------------------------------------------------- */

.where-snap { background: var(--ink); background-image: var(--tooth); height: 56px; }
.where { padding-block: calc(var(--section-y) * 0.6) var(--section-y); }
.where-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  align-items: start;
}
.where-head { grid-column: 1 / 8; display: grid; gap: 20px; }
.where-head h2 { max-width: 11em; }
.where-head p { font-size: 1.125rem; color: var(--paper-2); }
.where-head strong { color: var(--paper); }
.where-abroad { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1rem !important; }
.stamp-mini { font-size: 1rem; padding: 5px 10px 3px; color: var(--paper); }
.stamp-mini b { color: var(--orange); font-size: 1.25em; margin-left: 4px; }

/* the running client count, chalked beside the headline */
.where-total {
  grid-column: 9 / 13;
  align-self: end;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  row-gap: 8px;
  align-items: center;
}
.where-num {
  grid-row: span 2;
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: clamp(4.5rem, 3rem + 4vw, 7.5rem);
  line-height: 0.8;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  min-width: 1.1em;
}
.tally-total { height: 44px; color: var(--paper); }
.where-total-label { font-size: var(--fs-small); color: var(--paper-2); }

.map { grid-column: 1 / 9; grid-row: span 2; margin-top: 16px; }
.map-frame { position: relative; }
.map-svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-svg .st {
  fill: transparent;
  stroke: var(--paper);
  stroke-opacity: 0.2;
  stroke-width: 0.9;
  stroke-linejoin: round;
}
/* client states: chalk fill, brighter where there are more clients */
.map-svg .st.on {
  fill: var(--paper);
  stroke: var(--paper);
  stroke-opacity: 0.9;
  stroke-width: 1.1;
  filter: url(#chalk);
  transition: fill-opacity 0.6s var(--ease-out), fill 0.25s;
}
.map-svg .st[data-st="fl"] { fill-opacity: 0.95; }
.map-svg .st[data-st="tx"] { fill-opacity: 0.74; }
.map-svg .st[data-st="ca"] { fill-opacity: 0.58; }
.map-svg .st[data-st="ga"],
.map-svg .st[data-st="ny"] { fill-opacity: 0.42; }
.js .map.armed .st.on:not(.lit) { fill-opacity: 0; }
.map-svg .st.on.hot { fill: var(--orange); fill-opacity: 1; }

.map-stamp {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px 3px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--paper);
  font-size: clamp(0.875rem, 0.6rem + 0.6vw, 1.25rem);
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, opacity 0.4s var(--ease-out), translate 0.4s var(--ease-out);
}
.map-stamp b { font-size: 1.5em; font-weight: 800; line-height: 0.8; color: var(--orange); }
.js .map.armed .map-stamp:not(.lit) { opacity: 0; translate: 0 6px; }
.map-stamp.hot { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.map-stamp.hot b { color: var(--ink); }

.state-list { grid-column: 9 / 13; align-self: end; border-top: 2px solid var(--paper); }
.state-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--paper-3);
  transition: background-color 0.2s;
}
.state-list li.hot { background: rgba(249, 247, 248, 0.06); }
.state-name { font-weight: 600; font-size: 1.125rem; }
.tally-sm { height: 28px; color: var(--paper); }
.tally-sm path { stroke-width: 3; }
.state-n { font-size: 1.75rem; line-height: 1; min-width: 3.6em; text-align: right; }
.state-n span { font-size: 0.55em; letter-spacing: 0.06em; color: var(--paper-2); }

/* smaller footnote list: clients outside the US */
.abroad { grid-column: 9 / 13; }
.abroad-title { font-size: 1rem; letter-spacing: 0.08em; color: var(--paper-2); margin-bottom: 8px; }
.abroad-maps {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 40px;
  align-items: end;
  border-top: 1px solid var(--paper-3);
  padding-top: 20px;
}
.mini-map { margin: 0; display: grid; gap: 10px; }
.mini-map svg { display: block; width: 100%; height: 140px; overflow: visible; }
.mini-shape {
  fill: var(--paper);
  stroke: var(--paper);
  stroke-width: 1.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: url(#chalk);
  transition: fill 0.25s;
}
.mini-ca .mini-shape { fill-opacity: 0.58; }
.mini-nz .mini-shape { fill-opacity: 0.42; }
.mini-map.hot .mini-shape { fill: var(--orange); fill-opacity: 1; }
.js .where.armed .mini-map:not(.lit) .mini-shape { fill-opacity: 0; }
.mini-shape { transition: fill 0.25s, fill-opacity 0.6s var(--ease-out); }
.mini-map figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mini-map .state-name { font-size: 0.9375rem; font-weight: 600; }
.mini-map .state-n { font-size: 1.375rem; min-width: 0; }

/* Our work -------------------------------------------------------------- */

.work { padding-block: var(--section-y); }
.work-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 20px; align-items: end; }
.work-head h2 { grid-column: 1 / 6; }
.work-head p { grid-column: 7 / 13; font-size: 1.125rem; color: var(--ink-2); max-width: 32em; }
.work-head a { color: var(--ink); font-weight: 600; }

/* combined real numbers */
.scoreboard {
  margin-top: clamp(40px, 5vw, 72px);
  background: var(--ink);
  background-image: var(--tooth);
  color: var(--paper);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 48px);
  display: grid;
  gap: 24px;
}
.scoreboard-title { font-size: 1.25rem; letter-spacing: 0.06em; color: var(--paper-2); }
.scoreboard-stats {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--gap);
  align-items: end;
}
.scoreboard-stats div { display: flex; flex-direction: column-reverse; gap: 8px; padding-left: 20px; border-left: 1px solid var(--paper-3); }
.scoreboard-stats div:first-child { padding-left: 0; border-left: 0; }
.scoreboard-stats dt { font-size: var(--fs-small); color: var(--paper-2); }
.scoreboard-stats dd {
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: clamp(2.75rem, 1.8rem + 2.6vw, 4.5rem);
  line-height: 0.85;
}
.scoreboard-stats .score-lead dd { color: var(--orange); font-size: clamp(3.5rem, 2.2rem + 3.6vw, 6rem); }

.slots {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
/* a staked-out job: photo of the trade, the numbers still to be filled in */
.slot {
  position: relative;
  display: grid;
  align-content: start;
  border: 2px dashed var(--ink-3);
}
.slot::before,
.slot::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 24px; height: 24px;
  border: 0 solid var(--ink);
}
.slot::before { top: -2px; left: -2px; border-top-width: 3px; border-left-width: 3px; }
.slot::after { bottom: -2px; right: -2px; border-bottom-width: 3px; border-right-width: 3px; }

.slot-photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink); }
.slot-photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.92);
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.slot-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 24, 35, 0.7), rgba(23, 24, 35, 0) 55%);
  pointer-events: none;
}
.slot:hover .slot-photo img { transform: scale(1.04); filter: grayscale(0.6) contrast(1.1) brightness(0.95); }
.slot-trade {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 1;
  color: var(--paper);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  padding: 6px 12px 4px;
}
.slot-credit {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 1;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: rgba(249, 247, 248, 0.8);
}
.slot-body { padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 24px; }
.slot h3 { font-size: 1.75rem; color: var(--ink); }
.slot-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
.slot-spec dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.slot-spec dd {
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  color: rgba(23, 24, 35, 0.5);
  border-bottom: 1px dashed rgba(23, 24, 35, 0.4);
}
/* Testimonials ---------------------------------------------------------- */

.words { padding-block: var(--section-y); }
.words-grid { display: grid; gap: clamp(40px, 5vw, 72px); }
.words h2 { max-width: 12em; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.quote {
  display: grid;
  gap: 32px;
  align-content: space-between;
  padding-top: 28px;
  border-top: 3px solid var(--paper);
  min-height: 240px;
}
.quote blockquote p {
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  line-height: 1.35;
  color: var(--paper-2);
}
.quote blockquote p::before { content: "\201C"; color: var(--orange); font-weight: 600; }
.quote blockquote p::after { content: "\201D"; color: var(--orange); font-weight: 600; }
.quote figcaption { display: grid; gap: 2px; font-size: var(--fs-small); }
.quote-name { font-weight: 600; color: var(--paper); }
.quote-co { color: var(--paper-2); }

/* Why us ---------------------------------------------------------------- */

.why { padding-block: var(--section-y); }
.why-title { max-width: 9em; }
.why-list { margin-top: clamp(48px, 6vw, 88px); border-top: 2px solid var(--ink); }
.why-list li {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 12px;
  padding-block: clamp(28px, 3vw, 44px);
  border-bottom: 1px solid var(--ink-3);
  align-items: baseline;
}
.why-list h3 { grid-column: 1 / 7; font-size: clamp(2rem, 1.3rem + 2.2vw, 3.5rem); }
.why-list p { grid-column: 8 / 13; font-size: 1.125rem; color: var(--ink-2); max-width: 30em; }

/* CTA ------------------------------------------------------------------- */

.cta { padding-block: 0 var(--section-y); }
.cta-snap { margin-bottom: calc(var(--section-y) * 0.6); top: -20px; }
.cta-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 48px;
  align-items: center;
}
.cta-copy { grid-column: 1 / 7; display: grid; gap: 28px; }
.cta-copy h2 { font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem); line-height: 0.88; }
.cta-copy p { font-size: 1.25rem; color: var(--paper-2); max-width: 26em; }
.cta-trades { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-sheet { grid-column: 8 / 13; }

/* Footer ---------------------------------------------------------------- */

.site-footer { padding-block: 56px 40px; border-top: 1px solid var(--paper-3); }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px 48px;
  align-items: center;
}
.footer-line { color: var(--paper-2); font-size: var(--fs-small); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: var(--fs-small); color: var(--paper-2); text-decoration: none; }
.footer-nav a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; display: grid; gap: 8px; font-size: 0.8125rem; color: var(--paper-2); padding-top: 24px; border-top: 1px solid var(--paper-3); }
.footer-disclaimer { max-width: 70ch; }
.footer-grid .wordmark { justify-self: start; }
.work-head .work-note { grid-column: 7 / 13; font-size: 0.875rem; color: var(--ink-2); max-width: 44em; }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .hero-title { grid-column: 1 / -1; }
  .hero-lede { grid-column: 1 / 9; }
  .hero-count { grid-column: 1 / -1; }
  .hero-sheet { grid-column: 1 / 9; grid-row: 5; margin-top: 48px; }
  .hero-more { grid-row: 6; }
  .map { grid-column: 1 / -1; }
  .state-list { grid-column: 1 / 8; }
  .where-head { grid-column: 1 / 9; }
  .where-total { grid-column: 9 / -1; }
  .slots { grid-template-columns: 1fr 1fr; }
  .cta-copy, .cta-sheet { grid-column: 1 / -1; }
  .cta-sheet { max-width: 640px; }
}

@media (max-width: 860px) {
  .hero-lede, .hero-sheet { grid-column: 1 / -1; }
  .hero-count { grid-template-columns: 1fr; }
  .count-figure { grid-row: auto; }
  .problem-head, .punch, .problem-close { grid-column: 1 / -1; }
  .stations { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .stations::before { display: none; }
  .station { border-top: 3px solid var(--paper); padding-top: 24px; }
  .station-tick { top: -3px; height: 3px; width: 48px; }
  .channel dt, .channel dd { grid-column: 1 / -1; }
  .channel { row-gap: 14px; }
  .where-head, .where-total, .state-list, .abroad { grid-column: 1 / -1; }
  .map { grid-row: auto; }
  .scoreboard-stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .scoreboard-stats .score-lead { grid-column: 1 / -1; }
  .scoreboard-stats div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .work-head h2, .work-head p, .work-head .work-note { grid-column: 1 / -1; }
  .slots, .quotes { grid-template-columns: 1fr; }
  .quote { min-height: 0; }
  .why-list h3, .why-list p { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .stations { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .trade-options { grid-template-columns: repeat(2, 1fr); }
  .trade-options span { margin-left: 0; margin-top: -2px; }
  .trade-options label:nth-child(even) span { margin-left: -2px; }
  .map-stamp { padding: 3px 6px 2px; gap: 4px; }
  .wordmark-type { font-size: 1.625rem; }
  .btn-block { font-size: 1.25rem; }
  .map-stamp[data-st="ga"] { transform: translate(-95%, -80%); }
  .map-stamp[data-st="fl"] { transform: translate(-35%, -30%); }
}

/* Legal: consent line, cookie banner, privacy page ---------------------- */

.consent { font-size: 0.75rem; line-height: 1.5; color: var(--ink-2); }
.consent a { color: var(--ink); font-weight: 600; }

.link-btn {
  font: inherit;
  font-size: var(--fs-small);
  color: var(--paper-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.link-btn:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 0.2em; }
.link-btn-inline { font-size: inherit; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
.link-btn-inline:hover { color: var(--ink); }

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  width: min(480px, calc(100vw - 32px));
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--paper-3);
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.entering { transform: translateY(24px); opacity: 0; }
.cookie-title { font-size: 1.5rem; }
.cookie-banner p { font-size: var(--fs-small); color: var(--paper-2); line-height: 1.5; }
.cookie-banner p a { color: var(--paper); font-weight: 600; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cookie-actions .btn { width: 100%; min-height: 48px; font-size: 1.125rem; padding: 0 16px; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn-ghost:hover { background: rgba(249, 247, 248, 0.08); }
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }

.legal-hero { padding-block: clamp(56px, 7vw, 112px) 0; }
.legal-hero h1 { font-size: var(--fs-h2); }
.legal-date { margin-top: 16px; color: var(--paper-2); }
.legal-snap { margin-top: clamp(40px, 5vw, 72px); height: 48px; }

.legal { padding-block: clamp(56px, 7vw, 112px) var(--section-y); }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  align-items: start;
}
.legal-toc { grid-column: 1 / 4; position: sticky; top: 104px; }
.legal-toc ol { display: grid; gap: 4px; border-top: 2px solid var(--ink); padding-top: 16px; }
.legal-toc a { font-size: var(--fs-small); color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); text-decoration: underline; }
.legal-body { grid-column: 5 / 12; max-width: 68ch; }
.legal-body h2 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); margin: 56px 0 16px; scroll-margin-top: 104px; }
.legal-body h3 { font-size: 1.375rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li, .legal-body dd { color: var(--ink-2); }
.legal-body p + p { margin-top: 16px; }
.legal-body ul { list-style: square; padding-left: 1.25em; display: grid; gap: 6px; margin-top: 12px; }
.legal-body ul + p { margin-top: 16px; }
.legal-body a { color: var(--ink); font-weight: 600; }
.legal-body strong { color: var(--ink); }
.legal-lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink) !important; padding-bottom: 8px; }
.legal-defs { display: grid; gap: 16px; margin: 16px 0; }
.legal-defs dt {
  font-family: var(--font-head); font-stretch: 62%; font-variation-settings: "wdth" 62;
  font-weight: 800; text-transform: uppercase; font-size: 1.25rem; color: var(--ink);
}
.legal-contact { font-style: normal; color: var(--ink-2); line-height: 1.7; }

@media (max-width: 860px) {
  .legal-toc { position: static; grid-column: 1 / -1; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; }
  .legal-body { grid-column: 1 / -1; }
}

/* Case study expand ----------------------------------------------------- */

.slots { align-items: start; }
.slot-spec .span-2,
.case-stats .span-2 { grid-column: 1 / -1; }

.case-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.case-toggle:hover { background: var(--ink); color: var(--paper); }
.case-toggle .icon { transition: transform 0.35s var(--ease-out); }
.case-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.case-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* collapsed only when JS can open it; JS animates the measured height */
.js .case-panel { height: 0; overflow: hidden; visibility: hidden; }
.js .case-panel.open { visibility: visible; }
.case-panel-inner { background: var(--ink); background-image: var(--tooth); color: var(--paper); }
.case-did { padding: 28px clamp(20px, 2.2vw, 32px) 24px; display: grid; gap: 8px; }
.case-did h4 {
  margin: 0;
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.case-did p { color: var(--paper-2); }
.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 clamp(20px, 2.2vw, 32px);
  padding: 20px 0 28px;
  gap: 20px 16px;
  border-top: 1px solid var(--paper-3);
}
.case-stats dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper-2); }
.case-stats dd {
  margin: 4px 0 0;
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--paper);
}
.case-stats-head {
  margin: 0 clamp(20px, 2.2vw, 32px);
  padding-top: 20px;
  border-top: 1px solid var(--paper-3);
  font-family: var(--font-head);
  font-stretch: 62%;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--paper);
}
.case-stats-head span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-stretch: normal;
  font-variation-settings: normal;
  font-weight: 400;
  font-size: 0.875rem;
  text-transform: none;
  color: var(--paper-2);
}
.case-stats-head + .case-stats { border-top: 0; padding-top: 16px; }
.case-stats .case-big { padding-top: 16px; border-top: 1px dashed var(--paper-3); }
.case-stats .case-big dd { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem); }
.case-stats .case-roi dd { color: var(--orange); }

/* A filled-in case study: solid, no longer staked out */
.slot-live { border-style: solid; border-color: var(--ink); }
.slot-client { display: flex; align-items: center; gap: 16px; }
.slot-logo { width: auto; height: 64px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
.slot-live h3 { font-size: 2rem; }
.slot-spec-live dd { color: var(--ink); border-bottom-style: solid; border-bottom-color: var(--ink-3); font-size: 1.5rem; }
.case-did p + p { margin-top: 8px; }


