/* "You are in charge" band — heading, a single call to action, and three cards
   with sketch icons. Shared by the Workflow and Services pages, so it lives in
   components/ rather than either page stylesheet. Any page using it must add
   'components/charge-band.css' to its `css` array. */

/* --------------------------------------------------- You are in charge ---- */

/* Centred, as drawn — this band is the page's closing address, not another
   left-aligned content section. */
.wf-charge .container { text-align: center; }
.wf-charge .h-big { max-inline-size: 28ch; margin-inline: auto; }

.wf-charge-cta {
  display: flex;
  justify-content: center;
  margin-block-start: var(--space-5);
}

.wf-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}

.wf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4) var(--space-6);
  border: 1px solid rgb(250 247 242 / 0.35);
  border-radius: 20px;
}

.wf-card-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  block-size: 8rem;
  margin-block-end: var(--space-3);
  color: var(--cream);
  /* transform-origin at the base so the tilt reads as the sketch being nudged on
     the page, not spun about its middle. */
  transform-origin: 50% 85%;
  transition: transform var(--dur-med) var(--ease-out);
  will-change: transform;
}

.wf-card-art svg {
  block-size: 100%;
  inline-size: auto;
  display: block;
}

.wf-card:hover .wf-card-art,
.wf-card:focus-within .wf-card-art {
  transform: scale(1.08) rotate(-3deg);
}

/* Mirror the tilt in Arabic so it leans away from the reading edge either way. */
[dir='rtl'] .wf-card:hover .wf-card-art,
[dir='rtl'] .wf-card:focus-within .wf-card-art {
  transform: scale(1.08) rotate(3deg);
}

.wf-card-title {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

.wf-card-p {
  margin: 0 auto;
  font-size: var(--text-sm);
  color: rgb(250 247 242 / 0.78);
  max-inline-size: 34ch;
}

@media (max-width: 60rem) {
  .wf-cards { grid-template-columns: minmax(0, 1fr); }
  .wf-card { padding: var(--space-5) var(--space-4); }
}

@media (prefers-reduced-motion: reduce) {
  .wf-card-art { transition: none; }
}
