/* Honest Record trust emblem — shared across HTW articles + BoD.
   Renders as a warm cream card with a wax-seal crest, editorial
   lockup, live product-specific totals + CTA. Product-agnostic
   via var() fallbacks so it works wherever the tag renders. */
.hr-emblem {
  margin: 22px 0 28px;
}
.hr-emblem__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
  background:
    radial-gradient(circle at top left,
      rgba(195, 158, 42, 0.10) 0%,
      rgba(195, 158, 42, 0.00) 45%),
    var(--htw-bg-card, #faf6ec);
  border: 1px solid rgba(26, 22, 18, 0.08);
  border-left: 4px solid var(--htw-gold, #c39e2a);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 12px rgba(26, 22, 18, 0.06);
}
.hr-emblem__inner:hover:not(.hr-emblem__inner--flat) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 22, 18, 0.10);
}
.hr-emblem__inner--flat { cursor: default; }

/* ── Wax seal ─── */
.hr-emblem__seal {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%,
    #eacb63 0%, #c39e2a 55%, #8f6f18 100%);
  box-shadow:
    inset 0 -3px 6px rgba(0, 0, 0, 0.28),
    inset 0 3px 4px rgba(255, 255, 255, 0.35),
    0 2px 5px rgba(26, 22, 18, 0.20);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hr-emblem__seal-ring {
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgba(26, 22, 18, 0.35);
  border-radius: 50%;
}
.hr-emblem__seal-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 900;
  color: #1a1612;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* ── Editorial lockup ─── */
.hr-emblem__lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hr-emblem__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--htw-gold, #c39e2a);
  font-weight: 800;
}
.hr-emblem__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--htw-text, #1a1612);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hr-emblem__sub {
  font-size: 12px;
  color: var(--htw-text-dim, rgba(26, 22, 18, 0.62));
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Live totals strip ─── */
.hr-emblem__stats {
  display: flex;
  gap: 20px;
  padding: 4px 4px 4px 20px;
  border-left: 1px solid rgba(26, 22, 18, 0.12);
}
.hr-emblem__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 42px;
}
.hr-emblem__stat-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--htw-text, #1a1612);
  line-height: 1;
}
.hr-emblem__stat--pct .hr-emblem__stat-val { color: var(--htw-gold, #c39e2a); }
.hr-emblem__stat-lbl {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--htw-text-faint, rgba(26, 22, 18, 0.40));
  font-weight: 700;
}
.hr-emblem__stats--opening {
  padding-left: 20px;
  border-left: 1px solid rgba(26, 22, 18, 0.12);
}
.hr-emblem__opening {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--htw-text-dim, rgba(26, 22, 18, 0.62));
  font-weight: 700;
}

/* ── CTA ─── */
.hr-emblem__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--htw-text, #1a1612);
  color: #faf6ec;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hr-emblem__arrow { transition: transform 0.15s ease; }
.hr-emblem__inner:hover .hr-emblem__arrow { transform: translateX(3px); }

/* ── Mobile ─── */
@media (max-width: 720px) {
  .hr-emblem__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 14px 16px;
  }
  .hr-emblem__seal {
    width: 52px; height: 52px;
    grid-row: 1 / span 2;
  }
  .hr-emblem__seal-mark { font-size: 17px; }
  .hr-emblem__title { font-size: 19px; }
  .hr-emblem__stats {
    grid-column: 1 / -1;
    padding: 12px 0 0;
    border-left: none;
    border-top: 1px solid rgba(26, 22, 18, 0.10);
    justify-content: space-between;
  }
  .hr-emblem__stats--opening { padding-left: 0; }
  .hr-emblem__cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}


/* ── P/L variant tints for numeric stats (used by BoD emblem) ─── */
.hr-emblem__stat--pnl-pos .hr-emblem__stat-val { color: #1a7d4a; font-style: italic; }
.hr-emblem__stat--pnl-neg .hr-emblem__stat-val { color: #a03040; font-style: italic; }
.hr-emblem__stat--pnl-flat .hr-emblem__stat-val { color: rgba(26, 22, 18, 0.44); }
