/*
 * Pellets · product-appearance section.
 * Left column: tag + h2 + copy + spec list.
 * Right column: the pellets-in-hands photo in a rounded figure.
 * Placed between Plaque (where we make it) and Compare (specs) —
 * the physical product shot answers "what does the material actually
 * look like" before we dive into numbers.
 */
.pellets {
  padding-top: 100px;
  padding-bottom: 80px;
}

.pellets-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.pellets-copy .tag {
  margin-bottom: 24px;
}

.pellets-copy h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text);
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-feature-settings: "calt" 1;
}

/* reuse the shared em-pill treatment */
.pellets-copy h2 em {
  background: var(--accent);
  color: var(--accent-on);
  font-style: normal;
  padding: 0.04em 0.26em;
  border-radius: 0.32em;
  white-space: nowrap;
  display: inline-block;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pellets-copy p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 52ch;
}

/* Spec list — compact keyed rows with a subtle divider */
.pellets-specs {
  margin: 0;
  border-top: 1px solid var(--line-soft);
}

.pellets-specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.pellets-specs dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pellets-specs dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}

/* Figure · video / photo of pellets. Framed card removed per request —
   the video sits raw against the section background with only its own
   subtle rounded corners for polish. */
.pellets-figure {
  margin: 0;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}

.pellets-figure img,
.pellets-figure video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 10;
  object-fit: cover;
  border-radius: 24px;
  background: var(--bg-soft);
}

@media (max-width: 960px) {
  .pellets-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* On mobile the image is the hook — show it first, then the data. */
  .pellets-grid { grid-auto-flow: dense; }
  .pellets-figure {
    order: -1;
    justify-self: stretch;
    max-width: 100%;
  }
  .pellets-copy h2 { font-size: clamp(32px, 7vw, 44px); margin-bottom: 16px; }
  .pellets-copy p { font-size: 15px; margin-bottom: 20px; }
}

@media (max-width: 720px) {
  .pellets { padding-top: 56px; padding-bottom: 56px; }
  .pellets-specs > div { grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; }
  .pellets-specs dt { font-size: 11px; }
  .pellets-specs dd { font-size: 13px; }
  .pellets-figure img,
  .pellets-figure video { border-radius: 18px; }
}

