/* ==========================================================================
   MassTer PACE product page (template: massterpace)
   Built from the Mind page's sections, so it loads masstermind.css too
   (see inc/editable-pages.php). Only PACE-specific additions live here.
   Shared pieces (cards, platform block, closing CTA): components.css
   ========================================================================== */

/* ---------- hero: small orange title above a heading sized for a longer line ---------- */
.pc .pc-hero-eye{display:block;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ffa000;margin:0 0 16px}
.pc .pc-hi .mind-hi-h1{font-size:clamp(2.2rem,4.2vw,3.4rem);line-height:1.08}
.pc .mind-hi-scr img{display:block;width:100%;height:auto}

/* ---------- walkthrough: three orange step cards, each with an illustration ---------- */
.pc .pc-steps-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pc .pc-step{background:rgba(1,0,35,.45)}
@media(max-width:900px){.pc .pc-steps-3{grid-template-columns:1fr}}
.pc-ill{margin:0 0 22px;border-radius:12px;background:radial-gradient(120% 90% at 50% 0%,rgba(255,160,0,.10),rgba(1,0,35,.55));border:1px solid rgba(255,160,0,.16);padding:10px 8px 6px}
.pc-ill svg{display:block;width:100%;height:auto}
.pc-ill .pc-ill-label{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:9.5px;fill:rgba(255,255,255,.5);letter-spacing:.02em}
.pc-ill .pc-ill-name{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:12px;font-weight:700;fill:#fff;letter-spacing:.06em}
.pc-ill .pc-ill-chip{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:10px;font-weight:700;fill:#ffa000}
.pc-ill .pc-ill-flagtext{font-family:var(--wp--preset--font-family--red-hat-display),sans-serif;font-size:10px;font-weight:700;fill:#010023}
/* motion: model travels into PACE, the cycle turns, the Monitor flags a breach */
@keyframes pc-travel{0%{transform:translateX(0);opacity:0}15%{opacity:1}70%{transform:translateX(66px);opacity:1}100%{transform:translateX(66px);opacity:0}}
@keyframes pc-tick{0%,60%{stroke-dashoffset:20}80%,100%{stroke-dashoffset:0}}
@keyframes pc-orbit{to{stroke-dashoffset:-264}}
@keyframes pc-node{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes pc-draw{0%{stroke-dashoffset:320}70%,100%{stroke-dashoffset:0}}
@keyframes pc-pulse{0%{r:6;opacity:.6}100%{r:16;opacity:0}}
@keyframes pc-flag{0%,65%{opacity:0;transform:translateY(4px)}80%,100%{opacity:1;transform:none}}
.pc-ill-travel{animation:pc-travel 2.8s ease-in-out infinite}
.pc-ill-tick{stroke-dasharray:20;animation:pc-tick 2.8s ease-in-out infinite}
.pc-ill-orbit{transform-origin:160px 60px;animation:pc-orbit 4s linear infinite}
.pc-ill-node{animation:pc-node 4s ease-in-out infinite}
.pc-ill-node:nth-of-type(2){animation-delay:1s}.pc-ill-node:nth-of-type(3){animation-delay:2s}.pc-ill-node:nth-of-type(4){animation-delay:3s}
.pc-ill-line{stroke-dasharray:320;animation:pc-draw 4.2s ease-out infinite}
.pc-ill-pulse{animation:pc-pulse 1.6s ease-out infinite}
.pc-ill-flag{animation:pc-flag 4.2s ease-out infinite}
@media(prefers-reduced-motion:reduce){.pc-ill *{animation:none !important;stroke-dashoffset:0 !important;opacity:1 !important;transform:none !important}}

/* ---------- problem: blue labels and blue top borders on all four cards ---------- */
.pc .pc-cards-blue .ma-card{border-top-color:#1ac4fa}
.pc .pc-cards-blue .ma-card .ma-card-tag,.pc .pc-cards-blue .ma-card:nth-child(even) .ma-card-tag{color:#1ac4fa}

/* ---------- how it works: centred header, as on the Mind "What it does" section ---------- */
.pc .pc-eyebrow-mb{margin-bottom:24px}
.pc .pc-center-h2{text-align:center;font-size:clamp(1.65rem,3vw,2.4rem);font-weight:800;color:#fff;margin-bottom:var(--wp--preset--spacing--medium)}
/* frames follow the screenshot's own shape */
.pc .mind-showcase-img{aspect-ratio:auto}
.pc .mind-showcase-img img{height:auto;object-fit:contain}

/* ---------- ways to run it: compact cards, rows lined up across the three ---------- */
.pc .pc-modes{grid-template-rows:auto auto auto 1fr auto auto;column-gap:16px;row-gap:0}
.pc .pc-modes .mind-mode-card{display:grid;grid-template-rows:subgrid;grid-row:span 6;padding:24px 22px}
.pc .pc-modes .mind-mode-icon-wrap{margin-bottom:14px}
.pc .pc-modes .mind-mode-tag{font-size:.64rem;margin:0 0 8px}
.pc .pc-modes .mind-mode-name{font-size:1.05rem;margin:0 0 8px}
.pc .pc-modes .mind-mode-desc{font-size:.95rem;line-height:1.6;margin:0}
.pc .pc-mode-shot{margin:18px 0 0}
.pc .pc-mode-shot img{display:block;width:100%;height:auto;aspect-ratio:1600/759;object-fit:cover;object-position:top center;border-radius:10px;border:1px solid rgba(26,196,250,.18);box-shadow:0 12px 32px rgba(0,0,0,.35)}
.pc .pc-modes .mind-mode-link{margin:16px 0 0}
@media(max-width:720px){.pc .pc-modes{grid-template-rows:none;row-gap:14px}.pc .pc-modes .mind-mode-card{display:flex;grid-row:auto}}

/* ---------- pricing: Mind's card layout, words instead of a figure ---------- */
.pc .pc-price-word{font-size:clamp(1.6rem,2.6vw,2rem);line-height:1.1}
.pc .pc-price-btns{margin-top:22px}
.pc .mind-pricing-write a{color:#1ac4fa;font-weight:700;text-decoration:none}

/* ---------- before you start: four requirements as a 2 x 2 grid ---------- */
.pc .mind-req-list{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:640px){.pc .mind-req-list{grid-template-columns:1fr}}

/* pricing in orange: cyan lacks contrast on the purple band */
.pc .mind-pricing-card--featured{background:rgba(255,160,0,.07);border-color:rgba(255,160,0,.22);border-top-color:#ffa000}
.pc .mind-pricing-card--featured .mind-pricing-amount{color:#ffa000}
.pc .mind-pricing-list li::before{color:#ffa000}
.pc .mind-pricing-write a{color:#ffa000}
.pc-ill .pc-ill-accent{fill:rgba(255,160,0,.85);font-weight:700}
