/* ==========================================================================
   components.css — the content blocks a page is built from.

   Split out of site.css because build_principles.md §II caps a source file at
   30 KB and the public site's content blocks crossed it. The boundary is
   deliberate: site.css carries chrome (buttons, header, footer, hero, section
   heads) and this file carries the bands — element cards, the stepper, the fee
   tables, the document rows, the member disclaimer. A block that appears on
   more than one page lives here so no page can drift from another.
   ========================================================================== */
/* --- Six elements (DESIGN §7.4) ------------------------------------------ */

.element-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.element-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-md);
  background-color: #fff;
  box-shadow: var(--shadow-hairline);
  transition: box-shadow 150ms ease;
}

.element-card:hover {
  box-shadow: var(--shadow-card);
}

.icon-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background-color: rgb(var(--brand-sageLight-rgb) / 0.7);
  color: var(--brand-ochre);
}

.icon-plate svg {
  width: 1.25rem;
  height: 1.25rem;
}

.element-card__title {
  margin-bottom: 0.5rem;
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
}

.element-card__body {
  color: var(--brand-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

.element-card__body + .element-card__body {
  margin-top: 0.5rem;
}

.element-grid__source {
  /* No negative margin: this line follows an element grid on some pages and a role
     list on others, and pulling it up overlapped the last row's text. The grid's own
     bottom margin is trimmed to compensate. */
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--brand-muted);
  font-size: var(--text-micro);
}

@media (min-width: 768px) {
  .element-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .element-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Quote callout ------------------------------------------------------- */

.quote {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--brand-sand);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--brand-cream);
  box-shadow: var(--shadow-hairline);
}

.quote__text {
  color: var(--brand-charcoal);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-style: italic;
  line-height: var(--leading-body);
}

.quote__source {
  margin-top: 0.625rem;
  color: var(--brand-muted);
  font-size: var(--text-xs);
  font-weight: 500;
}

@media (min-width: 640px) {
  .quote__text {
    font-size: var(--text-base);
  }
}

/* --- How it works: the stepper (DESIGN §7.5) ----------------------------- */

.steps {
  position: relative;
  /* The ring around a step number is the surrounding ground showing through, so the
     connecting track appears to pass behind the number. It has to match the band it
     sits on: warm on the home page, cream on /become-a-member/. */
  --step-ring: var(--brand-cream);
  /* The rail below 640 px runs from one number to the next, so it is drawn per step.
     Its length is this gap plus half a number: change `.steps__grid`'s gap and this
     must change with it. */
  --step-gap: 1.25rem;
  --step-num: 1.75rem;
}

.section--warm .steps {
  --step-ring: var(--brand-creamWarm);
}

.steps__track {
  display: none;
}

.steps__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--step-gap);
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
}

/* The number is the only thing outside the card. A step used to be a numbered head row
   above a bordered card — two boxes and 40 px of air for one digit. */
.step__num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--step-num);
  height: var(--step-num);
  margin-bottom: 0.625rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 4px var(--step-ring);
  background-color: var(--brand-ochre);
  color: #fff;
  font-family: var(--font-serif);
  font-size: var(--text-xs);
  font-weight: 700;
}

.step__label {
  margin-bottom: 0.25rem;
  color: var(--brand-ochre);
  font-size: var(--text-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step__card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.125rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-sm);
  background-color: #fff;
  box-shadow: var(--shadow-hairline);
  transition: border-color 150ms ease;
}

.step__card:hover {
  border-color: rgb(var(--brand-ochre-rgb) / 0.4);
}

.step__title {
  margin-bottom: 0.375rem;
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
}

.step__body {
  color: var(--brand-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

.step__foot {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgb(var(--brand-sand-rgb) / 0.4);
  color: var(--brand-muted);
  font-size: var(--text-micro);
  font-weight: 500;
}

/* Phones: one column of cards with the numbers on a rail down the left. The card is the
   row's whole height, so the number costs nothing vertically — which is the 1 350 px band
   becoming a 1 100 px one. */
@media (max-width: 639px) {
  .step {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
  }

  .step__num {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .step__card {
    grid-column: 2;
    grid-row: 1;
  }

  /* From the centre of this number, through the gap, to the centre of the next one.
     `bottom` is negative by the gap plus half a number, so it lands exactly on it. */
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: calc(var(--step-num) / 2);
    bottom: calc(-1 * (var(--step-gap) + var(--step-num) / 2));
    left: calc(var(--step-num) / 2);
    width: 1px;
    background-color: var(--brand-sand);
  }
}

@media (min-width: 640px) {
  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps__track {
    display: block;
    position: absolute;
    top: calc(var(--step-num) / 2);
    /* From the centre of the first number to the centre of the sixth. The old 4.16% was
       measured by eye and left a stub of track hanging past the last number. */
    left: calc(var(--step-num) / 2);
    right: calc(100% - var(--step-num) / 2 - 5 * (100% + var(--step-gap)) / 6);
    height: 2px;
    background-color: var(--brand-sand);
  }

  .steps__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* --- Farm gallery (DESIGN §7.6) ------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--brand-sand);
}

.gallery__img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  background-image: linear-gradient(
    to top,
    rgb(var(--brand-forestDeep-rgb) / 0.9),
    transparent
  );
  color: var(--brand-cream);
  font-size: var(--text-xs);
}

.gallery__note {
  margin-top: 1.25rem;
  color: var(--brand-muted);
  font-size: var(--text-micro);
}

.chip {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-xs);
  background-color: var(--brand-sageLight);
  color: var(--brand-muted);
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .gallery__img {
    height: 20rem;
  }
}

/* --- Fees (DESIGN §7.7) -------------------------------------------------- */

.fees__panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-md);
  background-color: var(--brand-creamWarm);
  box-shadow: var(--shadow-hairline);
}

.fees__panel-body {
  max-width: 48rem;
}

.fees__panel-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.fees__panel-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-ochre);
}

.fees__panel-title {
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
}

.fees__panel-text {
  margin-bottom: 0.5rem;
  color: var(--brand-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

.fees__panel-text strong {
  color: var(--brand-charcoal);
  font-weight: 600;
}

.fees__panel-actions {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.625rem;
  min-width: 13.75rem;
}

.fees__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 640px) {
  .fees__panel-title {
    font-size: var(--text-xl);
  }

  .fees__panel-text {
    font-size: var(--text-sm);
  }

  .fees__panel-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .fees__panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .fees__panel-actions {
    flex-direction: column;
  }

  .fees__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .fee-card--membership {
    grid-column: span 5;
  }

  .fee-card--assessment {
    grid-column: span 7;
  }

  /* OPP §2.4 and §2.5 sit under the two cards they qualify, at equal width: a visit
     contribution is not an assessment fee and a seal licence is conditional on
     certification, so neither belongs inside the membership or assessment card. */
  .fee-card--visit,
  .fee-card--seal {
    grid-column: span 6;
  }
}

.fee-card {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-md);
  background-color: #fff;
  box-shadow: var(--shadow-hairline);
}

.fee-card__title {
  margin-bottom: 1.25rem;
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
}

.fee-lines {
  display: grid;
  gap: 1rem;
}

.fee-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px dashed rgb(var(--brand-sand-rgb) / 0.7);
}

.fee-line__label {
  display: block;
  color: var(--brand-charcoal);
  font-size: var(--text-sm);
  font-weight: 500;
}

.fee-line__note {
  display: block;
  color: var(--brand-muted);
  font-size: var(--text-xs);
}

.fee-line__amount {
  margin: 0;
  color: var(--brand-ochreDark);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
}

.fee-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* The floor of a first year, after the four cards. Deliberately a paragraph and not a
   fifth card: it is arithmetic on the figures above, and a card would give it the
   same standing as a fee the OPP sets. */
.fee-total {
  max-width: 62ch;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--brand-sand);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--brand-creamWarm);
  color: var(--brand-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.fee-total strong {
  color: var(--brand-forestDark);
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  font-size: var(--text-micro);
  font-weight: 600;
}

.tag--note {
  border-color: var(--brand-sand);
  background-color: var(--brand-sageLight);
  color: var(--brand-ochreInk);
}

.tag--plain {
  background-color: rgb(var(--brand-sand-rgb) / 0.5);
  color: var(--brand-charcoal);
}

.fee-table__scroll {
  overflow-x: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-xs);
}

.fee-table thead tr {
  border-bottom: 1px solid var(--brand-sand);
}

/* Column headings only. The row labels are also `<th>` (scope="row") and must stay
   in sentence case — uppercasing a turnover range makes it read as a code. */
.fee-table thead th {
  padding-block: 0.75rem;
  color: var(--brand-muted);
  font-size: var(--text-nano);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fee-table tbody tr {
  border-top: 1px solid rgb(var(--brand-sand-rgb) / 0.5);
}

.fee-table tbody th {
  padding-block: 0.75rem;
}

.fee-table__label {
  color: var(--brand-charcoal);
  font-size: var(--text-xs);
  font-weight: 400;
}

.fee-table td {
  padding-block: 0.75rem;
}

.fee-table__right {
  text-align: right;
}

.fee-table__initial {
  color: var(--brand-ochreDark);
  font-weight: 500;
}

.fee-table__renewal {
  color: var(--brand-muted);
}

.fee-table__note {
  margin-top: 1.25rem;
  color: var(--brand-muted);
  font-size: var(--text-micro);
  font-style: italic;
  line-height: 1.4;
}

/* --- Documents (DESIGN §7.8) --------------------------------------------- */

.docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-sm);
  background-color: #fff;
  box-shadow: var(--shadow-hairline);
  transition: border-color 150ms ease;
}

.doc-row:hover {
  border-color: rgb(var(--brand-ochre-rgb) / 0.4);
}

.doc-row__main {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.doc-row__type {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-xs);
  background-color: var(--brand-sageLight);
  color: var(--brand-ochreInk);
  font-size: var(--text-nano);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.doc-row__title {
  color: var(--brand-charcoal);
  font-size: var(--text-xs);
  font-weight: 700;
}

.doc-row__meta {
  color: var(--brand-muted);
  font-size: var(--text-micro);
}

.doc-row__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 1rem;
}

.doc-row__action {
  flex-shrink: 0;
  color: var(--brand-ochreDark);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* The second verb on a row whose text is ingested (`Read the text`, D1/D3). It is a real
   link with the same 44px target as the download, set one step quieter because Download
   exists for every row and this one does not (DESIGN §7.8). */
.doc-row__action--secondary {
  color: var(--brand-forest);
  font-weight: 600;
}

a.doc-row__action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

a.doc-row__action:hover {
  text-decoration: underline;
}

/* A pending action is a chip, not a disabled button: it must not look clickable
   (DESIGN rule 8). C2 replaces it with a real link in one commit. */
.doc-row__action--pending {
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-xs);
  background-color: var(--brand-creamWarm);
  color: var(--brand-muted);
  font-weight: 600;
}

.doc-row--gated {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: var(--brand-sageLight);
}

.doc-row__gated-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius-xs);
  background-color: rgb(var(--brand-sand-rgb) / 0.8);
  color: var(--brand-ochreInk);
}

.doc-row__gated-mark svg {
  width: 0.875rem;
  height: 0.875rem;
}

@media (min-width: 640px) {
  .doc-row--gated {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .docs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Members (DESIGN §7.10) ---------------------------------------------- */

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-md);
  background-color: #fff;
  box-shadow: var(--shadow-hairline);
}

.disclaimer__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: 0.125rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-sageLight);
  color: var(--brand-ochreInk);
}

.disclaimer__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.disclaimer__body {
  display: grid;
  gap: 0.75rem;
}

.disclaimer__title {
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
}

.disclaimer__text {
  max-width: 80ch;
  color: var(--brand-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

.disclaimer__text strong {
  color: var(--brand-charcoal);
  font-weight: 600;
}

.disclaimer__pending {
  color: var(--brand-muted);
  font-size: var(--text-xs);
}

@media (min-width: 640px) {
  .disclaimer__text {
    font-size: var(--text-sm);
  }
}

/* --- Callout, prose, role list (sub-pages) ------------------------------- */
/* The deep pages need three shapes the home page never uses: a bordered note
   (committee composition, payment terms, a pending decision), a short prose block,
   and a role list. They are here rather than in site.css because they are content
   blocks, not chrome. */

.callout {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--brand-sand);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background-color: var(--brand-sageLight);
}

.callout + .callout,
.callout + .role-list,
.prose + .callout {
  margin-top: 1.5rem;
}

/* …but not side by side in a grid: a top margin there is honoured *inside* the
   stretched track, so the second card sat 24px lower and 24px shorter than the
   first. Found by measuring two boxes that looked "slightly off" in a screenshot. */
.element-grid > .callout {
  margin-top: 0;
}

.callout__title {
  margin-bottom: 0.5rem;
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
}

.callout__text {
  /* The card spans the container; its text does not. A 1280px line is unreadable
     however well the palette is chosen. */
  max-width: 62ch;
  color: var(--brand-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.callout__text + .callout__text {
  margin-top: 0.5rem;
}

.callout__text strong {
  color: var(--brand-charcoal);
  font-weight: 600;
}

.prose {
  max-width: var(--container-narrow);
  color: var(--brand-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.prose p + p {
  margin-top: 0.75rem;
}

.prose strong {
  color: var(--brand-charcoal);
  font-weight: 600;
}

.prose a {
  color: var(--brand-ochreDark);
  font-weight: 600;
  text-decoration: underline;
}

.role-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.role-list__role {
  display: block;
  color: var(--brand-charcoal);
  font-weight: 600;
  font-size: var(--text-sm);
}

.role-list__duty {
  display: block;
  color: var(--brand-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

.outcome-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.outcome-list__item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--brand-muted);
  font-size: var(--text-sm);
}

.outcome-list__item::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-ochre);
}

.outcome-list__name {
  color: var(--brand-charcoal);
  font-weight: 600;
}

@media (min-width: 640px) {
  .element-grid--pair {
    grid-template-columns: repeat(2, 1fr);
  }

  .role-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
  }
}

/* A citation chip on a light ground. The default `.cite` treatment is built for the
   dark chat band (chat.css) and reads as a heavy black tag on a white card. Same
   content, same meaning, different ground. */
/* Two classes, not one: `.cite` lives in chat.css, which base.html loads last, so a
   single-class `.cite--light` would lose to it on source order. */
.cite.cite--light {
  border-color: var(--brand-sand);
  background-color: var(--brand-sageLight);
  color: var(--brand-ochreInk);
}

/* Content blocks that can follow one another on a deep page. Each needs separation
   when it does; without this the "No farm status is published here" callout overlapped
   the last outcome bullet. */
.outcome-list + .callout,
.outcome-list + .element-grid__source,
.role-list + .callout,
.element-grid + .callout,
.steps + .callout {
  margin-top: 1.5rem;
}

/* ==========================================================================
   The board — `/building/` (D74)
   --------------------------------------------------------------------------
   Four columns of one-sentence cards, in the same type roles as every other
   component: Lora for the column and card titles, Mulish for the sentence, cream
   grounds and `brand-*` tokens only (DESIGN rule 1).

   **Stacks on a phone, and that is a decision, not a fallback.**
   `tests/e2e/test_public_site.py` measures `document.documentElement.scrollWidth`
   at 390 px, so a four-wide row would fail it — and a horizontal rail would pass it
   while making a phone user swipe sideways to read a roadmap, which is the worse
   answer to the same question. Two columns at 768 px and four at 1024 px, with
   `minmax(0, 1fr)` so a long word can never push the grid wider than its container.

   No card is a link: nothing here is clickable, so there is no 44 px target to
   place and no affordance implying one.
   ========================================================================== */

.board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.board__standpoint {
  max-width: var(--container-prose);
  padding: 0.875rem 1.125rem;
  border-left: 3px solid var(--brand-ochre);
  border-radius: var(--radius-xs);
  background-color: rgb(var(--brand-ochreLight-rgb) / 0.55);
  color: var(--brand-warmDark);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

.board__empty {
  margin-top: 1.5rem;
  color: var(--brand-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.board__column {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.25rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-md);
  background-color: rgb(var(--brand-sageLight-rgb) / 0.5);
}

.board__title {
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--brand-sand);
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.board__cards {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board__card {
  padding: 0.875rem 1rem;
  border: 1px solid var(--brand-sand);
  border-radius: var(--radius-sm);
  background-color: #fff;
  box-shadow: var(--shadow-hairline);
}

.board__card-title {
  margin-bottom: 0.375rem;
  color: var(--brand-forestDark);
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
}

.board__card-summary {
  margin: 0;
  color: var(--brand-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
}

@media (min-width: 768px) {
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }
}
