/* ==========================================================================
   ProspectPoint Marketing — industries.html ("Who We Reach") only.
   Loaded after styles.css. Uses the shared tokens; adds no colors or fonts.
   ========================================================================== */

/* ---------- 1. Industry cards with a spot illustration ---------- */
.reach-card--art,
.reach-note {
  --card-pad: clamp(1.25rem, 1rem + 1vw, 1.625rem);
}

.reach-card--art {
  padding: var(--card-pad);
  overflow: hidden;
}

.reach-card__art {
  display: grid;
  place-items: center;
  background: var(--teal-50);
}

/* Spot illustrations: navy line, white paper, teal accents */
.spot {
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--navy-800);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spot__paper {
  fill: var(--white);
}

.spot__tint {
  fill: var(--teal-100);
}

.spot__teal {
  fill: var(--teal-400);
}

.spot__ink {
  fill: var(--navy-800);
}

.spot__shade {
  fill: var(--teal-100);
  stroke: none;
}

.spot__drop {
  fill: var(--teal-400);
  stroke: none;
}

.spot__mark {
  stroke: var(--teal-600);
}

.spot__ring {
  stroke: var(--teal-400);
  stroke-width: 5;
}

.spot__nuts {
  stroke-width: 4;
}

/* Phones: the card is a compact row, so the illustration becomes a tile */
@media (max-width: 39.99em) {
  .reach-card--art {
    grid-template-rows: auto 1fr;
  }

  .reach-card__art {
    grid-row: span 2;
    width: 5.25rem;
    height: 5.25rem;
    padding: 0.375rem;
    border-radius: 13px;
  }

  /* Drawn smaller here, so the line gets a little more weight */
  .spot {
    stroke-width: 2.5;
  }
}

/* Wider screens: the illustration is a band across the top of the card */
@media (min-width: 40em) {
  .reach-card__art {
    margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) var(--space-2);
    padding: var(--space-4);
    border-bottom: 1px solid var(--teal-100);
  }

  .spot {
    width: 9.5rem;
  }
}

/* Who is who: the note under the cards, in two columns when there is room.
   Its padding and column gap follow the card padding, so both paragraphs
   start on the same lines as the card text above them. */
.reach-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3) calc(1.625rem + 2 * var(--card-pad));
  margin-top: var(--space-5);
  padding-inline: calc(var(--card-pad) - 3px) calc(var(--card-pad) + 1px);
}

/* In one column on a tablet the lines would run long without a cap.
   Neither paragraph ends on a single word, also where "pretty" wrapping
   is not supported yet and the lines are balanced instead. */
.reach-note p {
  max-width: 38rem;
  text-wrap: balance;
  text-wrap: pretty;
}

@media (min-width: 52em) {
  .reach-note {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 2. States ---------- */
/* Side by side, the two columns of a split center on each other */
@media (min-width: 62em) {
  .split--center {
    align-items: center;
  }
}

/* The four tiles sit two by two, except on tablets, where the section is a
   single column and one row of four has room for the longest name. */
.state-row--pairs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 48em) and (max-width: 61.99em) {
  .state-row--pairs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* A single column below 360px, where two tiles no longer fit */
@media (max-width: 22.49em) {
  .state-row--pairs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 3. How a prospect list is built ---------- */
/* The longest of the four lines keeps a readable measure at every width */
.icon-list p {
  max-width: 34rem;
}

/* The sample list, with a second sheet showing behind it. The box includes
   the sheet's offset, so the pair lines up with the edge of the container. */
.list-figure {
  position: relative;
  width: 100%;
  max-width: 24.75rem;
  margin-inline: auto;
  padding: 0.75rem 0.75rem 0 0;
}

.list-figure::before {
  content: "";
  position: absolute;
  inset: 0 0 0.75rem 0.75rem;
  border: 1px solid var(--navy-600);
  border-radius: 14px;
  background: var(--navy-700);
}

.list-figure .mock {
  position: relative;
}

@media (min-width: 62em) {
  .list-figure {
    margin-right: 0;
  }
}

/* All three filters are switched on */
.mock__seq--filters span {
  border-color: var(--teal-100);
  background: var(--teal-50);
  color: var(--teal-700);
}

/* ---------- 4. Closing band ---------- */
.cta-band__text {
  text-wrap: balance;
}
