/* working.css: page-local styles for working-with-us.html (R9).
   Reuses R0 .grid--board, .card--signal, .layout-aside, .rail and .section--ink. Nothing here is for reuse.
   Motion: the FAQ chevron turns on open (user-triggered); R0's reduced-motion rule makes it instant. */

/* ---------- Hero: statement beside the page's one signal plate ---------- */
.working-hero {
  padding-block: var(--section-pad) var(--space-2xl);
}

.working-hero__intro {
  --span: 7;

  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  align-items: flex-start;
}

.working-hero__cta {
  align-items: center;
}

.working-hero__link,
.working-link,
.working-book__link {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  color: var(--color-link);
  font-family: var(--font-display);
  font-weight: var(--fw-label);
  font-stretch: var(--wdth-label);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.working-hero__or,
.working-book__or {
  color: var(--color-text-muted);
}

.working-hero__hours {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--step--1);
}

/* ---------- Promises: spec plate ---------- */
.working-promises {
  --span: 5;

  padding: var(--space-l);
}

.working-promises__title {
  margin-block-end: var(--space-s);
  font-size: var(--step-2);
}

.working-promises__list {
  display: grid;
  margin: 0;
}

.working-promises__item {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-3xs);
  padding-block: var(--space-s);
  border-block-start: 1px solid var(--pegboard);
}

.working-promises__item dt {
  color: var(--color-text-muted);
}

.working-promises__item dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: var(--fw-black);
  font-stretch: var(--wdth-wide);
  line-height: var(--lh-tight);
  overflow-wrap: anywhere;
}

/* ---------- How we work: four unnumbered blocks ---------- */
.working-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-l);
}

.working-block__title {
  font-size: var(--step-1);
  font-weight: var(--fw-title);
  font-stretch: var(--wdth-label);
}

.working-block p {
  max-inline-size: none;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .working-blocks {
    --rail-cols: 2;
  }
}

/* ---------- FAQ: native details ---------- */
.working-ask {
  margin: 0;
}

.working-faq {
  background: var(--color-surface);
}

.working-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  min-block-size: 2.75rem;
  padding: var(--space-xs) var(--space-m);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: var(--fw-label);
  font-stretch: var(--wdth-label);
  list-style: none;
}

.working-faq__item summary::-webkit-details-marker {
  display: none;
}

.working-faq__item summary::after {
  content: "";
  flex: none;
  inline-size: 0.6rem;
  block-size: 0.6rem;
  border-inline-end: 2px solid currentcolor;
  border-block-end: 2px solid currentcolor;
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out);
}

.working-faq__item[open] summary::after {
  transform: rotate(225deg);
}

.working-faq__item summary:hover {
  background: var(--color-surface-raised);
}

.working-faq__item summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: -3px;
}

.working-faq__item p {
  max-inline-size: var(--measure);
  padding: 0 var(--space-m) var(--space-m);
  color: var(--color-text-muted);
}

/* ---------- Book a call: ink plate ---------- */
.working-book {
  padding-block: var(--space-2xl);
}

.working-book__actions {
  align-items: center;
  margin-block-start: var(--space-m);
}
