/* Products hub + product pages. Builds on /assets/site.css and /rep-cards/rc-store.css. */
.pd-hero .lede { max-width: 62ch; }
.pd-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pd-grid--small { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 16px; }
.pd-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; text-decoration: none; color: inherit;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.09);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  animation: pd-in .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0ms);
}
.pd-card:hover, .pd-card:focus-visible { transform: translateY(-4px); border-color: rgba(195,163,91,.55); background: rgba(195,163,91,.06); }
.pd-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1020; }
.pd-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s ease; }
.pd-card--tall .pd-card-img img { object-position: 50% 8%; }
.pd-card:hover .pd-card-img img { transform: scale(1.04); }
.pd-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; flex: 1; }
.pd-card-body b { font-family: 'Saira Condensed', sans-serif; font-size: 1.6rem; letter-spacing: .01em; line-height: 1.05; }
.pd-card-line { opacity: .82; line-height: 1.45; }
.pd-chips, .pd-for { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-chips i, .pd-for i { font-style: normal; font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); opacity: .9; }
.pd-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.pd-card-foot em { font-style: normal; color: #C3A35B; font-weight: 600; }
.pd-card-foot span { opacity: .75; font-size: .9rem; }
.pd-card--custom { justify-content: flex-end; background: linear-gradient(160deg, rgba(195,163,91,.14), rgba(255,255,255,.02)); }
.pd-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: perspective(1200px) rotateY(-6deg); transition: transform .6s ease; }
.pd-shot:hover { transform: none; }
.pd-shot img { display: block; width: 100%; height: auto; }
.pd-for { align-items: center; padding: 6px 0; }
.pd-for .kicker { margin: 0 10px 0 0; }
.pd-steps { display: grid; gap: 14px; }
/* "Who we build for" (hub) */
.pd-who h2 { margin: 6px 0 14px; max-width: 32ch; }
.pd-who .pd-for i { font-size: .9rem; padding: 6px 12px; }
.pd-who .rcs-cta-row { margin-top: 18px; }
.pd-page .rcs-hero-in { align-items: center; }
@keyframes pd-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pd-card, .pd-shot, .pd-card-img img { animation: none; transition: none; transform: none; } }
@media (max-width: 760px) { .pd-shot { transform: none; margin-top: 8px; } .pd-grid { grid-template-columns: 1fr; } }

/* Industry filter (hub) */
.pd-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pd-filter button { font: inherit; font-size: .92rem; cursor: pointer; padding: 9px 16px; border-radius: 999px; color: inherit;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); transition: background .2s, border-color .2s, color .2s; }
.pd-filter button:hover { border-color: rgba(195,163,91,.6); }
.pd-filter button[aria-pressed="true"] { background: #C3A35B; border-color: #C3A35B; color: #0b0f17; font-weight: 600; }
.pd-filter button:focus-visible { outline: 2px solid #C3A35B; outline-offset: 2px; }
.pd-count { min-height: 1.4em; margin-top: 10px; font-size: .9rem; opacity: .7; }
.pd-card[hidden] { display: none; }

/* Card hover preview */
.pd-card-img { position: relative; }
.pd-card-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0; transition: opacity .35s ease; background: #0b1020; }
.pd-card.is-playing .pd-card-vid { opacity: 1; }

/* Product-page promo */
.pd-watch-in { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 48px; align-items: center; }
.pd-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 34px; padding: 8px; background: #000; border: 1px solid #2a3442;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 6px #111823; }
.pd-phone video { width: 100%; height: 100%; border-radius: 27px; object-fit: cover; display: block; background: #0b0f12; }
@media (max-width: 760px) { .pd-watch-in { grid-template-columns: 1fr; gap: 24px; } .pd-phone { width: min(78vw, 300px); margin: 0 auto; } }

/* ---------- Brand: each product page and card wears its own accent (--ac) ---------- */
.pd-page { --gold: var(--ac); --gold-hi: var(--ac-ink); }
.pd-page .btn-gold { background: var(--ac); }
@supports (background: color-mix(in srgb, red 50%, blue)) {
.pd-page .btn-gold { background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 82%, #fff), var(--ac)); color: var(--ac-on); box-shadow: 0 10px 30px color-mix(in srgb, var(--ac) 35%, transparent); }
}
.pd-page .btn-gold:hover { color: var(--ac-on); filter: brightness(1.06); }
.pd-page .rcs-checks li::before { background: var(--ac-ink); }
.pd-page .rcs-step span { color: var(--ac-ink); }
.pd-page .rcs-hero { position: relative; overflow: hidden; isolation: isolate; }
.pd-page .rcs-hero::before { content: ''; position: absolute; inset: -30% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 45% at 75% 35%, color-mix(in srgb, var(--ac) 30%, transparent), transparent 70%),
              radial-gradient(35% 40% at 15% 85%, color-mix(in srgb, var(--ac) 14%, transparent), transparent 70%);
  animation: pd-aurora 16s ease-in-out infinite alternate; }
@keyframes pd-aurora { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(4%, 3%, 0) scale(1.08); } }
.pd-page .pd-shot { box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--ac) 35%, transparent), 0 0 60px color-mix(in srgb, var(--ac) 18%, transparent); }
.pd-page .pd-phone { box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 6px #111823, 0 0 70px color-mix(in srgb, var(--ac) 22%, transparent); }
.pd-page .pd-for i { border-color: color-mix(in srgb, var(--ac) 45%, transparent); }

/* Cards: brand mark, accent top line, cursor spotlight */
.pd-card { position: relative; }
.pd-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; background: var(--ac, #C3A35B); opacity: .85; }
.pd-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--ac, #C3A35B) 18%, transparent), transparent 70%); }
.pd-card:hover::after { opacity: 1; }
.pd-card:hover, .pd-card:focus-visible { border-color: color-mix(in srgb, var(--ac, #C3A35B) 60%, transparent); background: color-mix(in srgb, var(--ac, #C3A35B) 6%, transparent); }
.pd-card-foot em { color: var(--ac-ink, #C3A35B); }
.pd-mark { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: var(--ac-ink, #C3A35B); }
.pd-mark i { width: 9px; height: 9px; border-radius: 50%; background: var(--ac, #C3A35B); box-shadow: 0 0 10px var(--ac, #C3A35B); }
.pd-card--custom .pd-mark { display: none; }

/* Hub: moving industry ticker */
.pd-ticker { margin-top: 22px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pd-ticker div { display: flex; gap: 10px; width: max-content; animation: pd-tick 38s linear infinite; }
.pd-ticker span { font: 500 .8rem/1 var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; opacity: .55; padding: 8px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; white-space: nowrap; }
@keyframes pd-tick { to { transform: translateX(-50%); } }

/* Scroll reveal (only once JS marks the page ready, so no-JS shows everything) */
.pd-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.pd-js [data-reveal].in { opacity: 1; transform: none; }
.pd-js [data-reveal] .rcs-step { opacity: 0; transform: translateX(18px); transition: opacity .5s ease, transform .5s ease; }
.pd-js [data-reveal].in .rcs-step { opacity: 1; transform: none; }
.pd-js [data-reveal].in .rcs-step:nth-child(2) { transition-delay: .1s; } .pd-js [data-reveal].in .rcs-step:nth-child(3) { transition-delay: .2s; } .pd-js [data-reveal].in .rcs-step:nth-child(4) { transition-delay: .3s; }
.pd-shot[data-tilt] { transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .pd-page .rcs-hero::before, .pd-ticker div { animation: none; }
  .pd-js [data-reveal], .pd-js [data-reveal] .rcs-step { opacity: 1; transform: none; transition: none; }
}

.pd-ticker-wrap { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.pd-ticker-wrap .pd-ticker { margin-top: 0; flex: 1; min-width: 0; }
.pd-ticker-pause { flex: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: inherit; font-size: .7rem; letter-spacing: -1px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18); }
.pd-ticker-pause[aria-pressed="true"] { border-color: #C3A35B; color: #C3A35B; }
.pd-ticker-pause:focus-visible { outline: 2px solid #C3A35B; outline-offset: 2px; }
.pd-ticker.is-paused div, .pd-ticker-wrap:hover .pd-ticker div { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .pd-ticker-pause { display: none; } }
