/* Public "make yours" card. Tokens follow the active portfolio theme. */
.rp-made {
  --rp-card: #f7f5f0;
  --rp-ink: #171714;
  --rp-muted: #706e67;
  --rp-line: rgba(23, 23, 20, 0.1);
  --rp-btn: #171714;
  --rp-btn-ink: #f7f5f0;
  --rp-title: "Instrument Serif", Georgia, serif;
  --rp-body: "DM Sans", system-ui, sans-serif;
  --rp-kicker: var(--rp-body);
  --rp-radius: 22px;
  --rp-btn-radius: 12px;
  --rp-shadow: none;
  --rp-title-size: clamp(30px, 7vw, 36px);
  --rp-title-weight: 400;
  --rp-title-tracking: -0.015em;
  --rp-title-transform: none;
  box-sizing: border-box;
  width: 100%;
  max-width: 720px;
  margin: 36px auto 8px;
  padding: 26px 20px 18px;
  background: var(--rp-card);
  color: var(--rp-ink);
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius);
  box-shadow: var(--rp-shadow);
  text-align: center;
  font-family: var(--rp-body);
}
.rp-made * { box-sizing: border-box; }
.rp-made-kicker {
  margin: 0;
  font-family: var(--rp-kicker);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rp-muted);
}
.rp-made-title {
  margin: 8px 0 0;
  font-family: var(--rp-title);
  font-size: var(--rp-title-size);
  font-weight: var(--rp-title-weight);
  line-height: 1.05;
  letter-spacing: var(--rp-title-tracking);
  text-transform: var(--rp-title-transform);
  color: var(--rp-ink);
}
.rp-made-sub {
  margin: 8px auto 0;
  max-width: 28em;
  font-family: var(--rp-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--rp-muted);
}
.rp-made a.rp-made-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 320px);
  min-height: 48px;
  margin: 16px auto 0;
  padding: 0 22px;
  border-radius: var(--rp-btn-radius);
  background: var(--rp-btn);
  color: var(--rp-btn-ink);
  font-family: var(--rp-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}
.rp-made a.rp-made-btn:hover { filter: brightness(1.08); }
.rp-made-credit {
  margin: 12px 0 0;
  font-family: var(--rp-body);
  font-size: 13px;
  line-height: 1.3;
}
.rp-made a.rp-made-credit-link {
  color: var(--rp-muted);
  text-decoration: none;
}
.rp-made a.rp-made-btn:focus-visible,
.rp-made a.rp-made-credit-link:focus-visible {
  outline: 2px solid var(--rp-btn);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .rp-made {
    margin-top: 28px;
    padding: 32px 18px 22px;
  }
  .rp-made a.rp-made-btn { width: 100%; }
}

.rp-made.theme-dark,
.theme-dark .rp-made {
  --rp-card: #20221f;
  --rp-ink: #f7f5ef;
  --rp-muted: #aaa9a0;
  --rp-line: rgba(247, 245, 239, 0.12);
  --rp-btn: #f7f5ef;
  --rp-btn-ink: #171817;
  --rp-title: "Instrument Serif", Georgia, serif;
  --rp-body: "DM Sans", system-ui, sans-serif;
}

.rp-made.theme-mosaic,
.theme-mosaic .rp-made {
  --rp-card: #fbf6ee;
  --rp-ink: #2b1d16;
  --rp-muted: #6f5848;
  --rp-line: #e4d3c0;
  --rp-btn: #b24f2f;
  --rp-btn-ink: #fff;
  --rp-title: Fraunces, Georgia, serif;
  --rp-body: "DM Sans", "Segoe UI", sans-serif;
  --rp-radius: 20px;
  --rp-title-weight: 560;
}

.rp-made.theme-bloom,
.theme-bloom .rp-made {
  --rp-card: #ffffff;
  --rp-ink: #2b2140;
  --rp-muted: #6f6585;
  --rp-line: transparent;
  --rp-btn: #6c4dff;
  --rp-btn-ink: #fff;
  --rp-title: "Bricolage Grotesque", Nunito, sans-serif;
  --rp-body: Nunito, "Segoe UI", sans-serif;
  --rp-radius: 28px;
  --rp-btn-radius: 16px;
  --rp-shadow: 0 10px 30px rgba(43, 33, 64, 0.06);
  --rp-title-weight: 600;
}

.rp-made.theme-reelstrip,
.theme-reelstrip .rp-made {
  --rp-card: #17130f;
  --rp-ink: #f7f1e8;
  --rp-muted: #a89a87;
  --rp-line: #2a231b;
  --rp-btn: #ffb02e;
  --rp-btn-ink: #1a1206;
  --rp-title: "Bebas Neue", Impact, sans-serif;
  --rp-body: Manrope, "Segoe UI", sans-serif;
  --rp-radius: 16px;
  --rp-title-size: clamp(34px, 8vw, 42px);
  --rp-title-weight: 400;
  --rp-title-tracking: 0.04em;
  --rp-title-transform: uppercase;
}

.rp-made.theme-proof,
.theme-proof .rp-made {
  --rp-card: #121a2e;
  --rp-ink: #f4f6fb;
  --rp-muted: #8fa0c0;
  --rp-line: #1f2a44;
  --rp-btn: #c8ff3d;
  --rp-btn-ink: #0a0f1e;
  --rp-title: "Space Grotesk", Inter, sans-serif;
  --rp-body: Inter, "Segoe UI", sans-serif;
  --rp-kicker: "JetBrains Mono", ui-monospace, monospace;
  --rp-radius: 16px;
  --rp-btn-radius: 10px;
  --rp-title-weight: 600;
}
