/* Compact before/after: two matching crops of the top of a homepage.
   Side by side at every width, so both states stay visible together on phones.
   The crops are decorative (aria-hidden); .ba__explain carries the meaning. */

.ba-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 0.5rem + 1.5vw, 1.5rem);
  margin-top: 2rem;
  max-width: 40rem;
}

.crop { margin: 0; min-width: 0; }

.crop__label {
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crop--before .crop__label { color: var(--paper-dim); }
.crop--after .crop__label { color: var(--jade); }

.crop__screen {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: clamp(11.5rem, 9rem + 6vw, 13.5rem); /* both crops share one height */
  padding: 0.75rem;
  border-radius: 12px;
  background: #f6f4ef;
  color: #22252a;
  font-family: var(--font-sans);
  overflow: hidden;
  border: 2px solid #3a423e;
}

.crop--after .crop__screen { border-color: var(--jade-deep); }

.crop__screen p { margin: 0; }

.crop__bar {
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e0dcd2;
  font-size: clamp(0.625rem, 0.55rem + 0.3vw, 0.75rem);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crop__headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem);
  line-height: 1.2;
}

.crop__quote {
  font-size: clamp(0.75rem, 0.68rem + 0.3vw, 0.875rem);
  font-style: italic;
  color: #55534e;
}

/* Same footprint in both crops: empty in Before, the call button in After. */
.crop__gap,
.crop__call {
  flex: none;
  min-height: 2.25rem;
}

.crop__call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.6rem;
  background: #127a55;
  color: #fff;
  font-weight: 800;
  font-size: clamp(0.75rem, 0.68rem + 0.3vw, 0.875rem);
}

.crop__line {
  display: block;
  height: 0.4rem;
  border-radius: 99px;
  background: #d9d4c8;
}

.crop__line--short { width: 60%; }

.ba__explain {
  margin-top: 1.5rem;
  max-width: 40rem;
  color: var(--paper-dim);
}

.ba__explain strong { color: var(--paper); }

.ba__portfolio {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--paper-dim);
}
