/* Seed card ritual. Loaded only by public/partials/seed-card.html, so removing that file removes this too. */

.seedcard {
  display: grid;
  gap: 3.5rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.seedcard-copy h2 { font-size: clamp(var(--t-4), 5.5vw, var(--t-6)); }
.seedcard-copy p { margin-top: 1.5rem; max-width: 38ch; color: var(--mousse); }

.seedcard-object {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 320 / 420;
  margin: 0 auto;
  transform: rotate(-2.2deg);
}

.seedcard-paper { position: absolute; inset: 0; width: 100%; height: 100%; }
.seedcard-paper .paper { fill: var(--ivoire); }
.seedcard-paper .flecks { fill: var(--vieil-or); opacity: 0.55; }

.seedcard-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  color: var(--foret);
}

.seedcard-brand { font-size: var(--t-small); letter-spacing: 0.04em; color: var(--vieil-or); }

.seedcard-heading {
  margin-top: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--t-4);
  line-height: 1;
}

.seedcard-text p:last-child {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
}

.seedcard-caption {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 760px) {
  .seedcard { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}
