/* Partner Services page (partners.html). Builds on css/site.css; only page-specific pieces live here. */

/* hero */
.p-hero{padding-bottom:clamp(40px,5vw,72px)}
.p-hero .hero-copy{gap:24px}
.p-hero .h1{max-width:16ch}
.p-fine{font-size:14px;color:var(--muted);max-width:52ch}

/* partner service cards */
.pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1080px;margin:0 auto}
.pcard{position:relative;display:flex;flex-direction:column;gap:16px;background:var(--surface);border-radius:var(--r-sm);box-shadow:inset 0 0 0 .5px var(--line);padding:clamp(24px,3vw,36px);scroll-margin-top:96px;transition:transform .45s var(--ease)}
.pcard:hover{transform:translateY(-4px)}
.pcard-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pcard-ic{width:56px;height:56px;border-radius:50%;background:var(--tint);color:var(--ink);display:grid;place-items:center;transition:rotate .45s var(--ease)}
.pcard-ic svg{width:26px;height:26px}
.pcard:hover .pcard-ic{rotate:-8deg}
.pcard h3{font-size:clamp(26px,2.6vw,34px);font-weight:500;letter-spacing:-.025em;line-height:1.08}
.pcard-body{color:var(--muted);max-width:46ch}
.pcard-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.pcard-tags .tag{white-space:normal}
/* tags here have no service colour, so drop the (invisible) dot that pushed the text off-centre */
.pcard-tags .tag::before{display:none}
.pcard-partner{margin-top:auto;padding-top:20px;border-top:1px solid var(--rule);display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pcard-partner .label{display:block;margin-bottom:8px}
.pcard-tba{font:600 17px/1.2 var(--sans);letter-spacing:-.01em}
.pcard-note{font-size:14px;color:var(--muted);margin-top:4px}

/* how it works: three steps joined by a dashed path */
.psteps{list-style:none;margin:0 auto;padding:0;max-width:1080px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;position:relative}
.psteps::before{content:"";position:absolute;left:16%;right:16%;top:32px;border-top:2px dashed var(--line);z-index:0}
.pstep{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:0 12px}
.pstep-n{width:64px;height:64px;border-radius:50%;background:var(--orange);color:var(--ink);display:grid;place-items:center;font:600 26px/1 var(--sans);letter-spacing:-.03em;box-shadow:0 0 0 8px var(--bg);transition:transform .45s var(--ease)}
.pstep:hover .pstep-n{transform:rotate(-8deg) scale(1.06)}
.pstep h3{font-size:22px;margin-top:8px}
.pstep p{color:var(--muted);font-size:16px;max-width:30ch}

/* partner with JomBoss */
#become-partner{padding-top:clamp(48px,6vw,88px)}
.pjoin{display:flex;align-items:center;justify-content:space-between;gap:24px 40px;flex-wrap:wrap;background:var(--soft);border-radius:var(--r);padding:clamp(28px,4vw,56px)}
.pjoin-copy{display:flex;flex-direction:column;gap:14px;max-width:620px}
.pjoin .h2{font-size:clamp(32px,4vw,52px)}
footer{margin-top:0}

@media (max-width:880px){
  .pgrid{grid-template-columns:minmax(0,1fr)}
  .psteps{grid-template-columns:minmax(0,1fr);gap:28px;max-width:520px}
  .psteps::before{left:31px;right:auto;top:32px;bottom:32px;border-top:0;border-left:2px dashed var(--line)}
  .pstep{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:20px;row-gap:6px;text-align:left;align-items:start;padding:0}
  .pstep-n{grid-row:span 2}
  .pstep h3{margin-top:14px}
}
@media (max-width:600px){
  .pcard-partner{align-items:stretch;flex-direction:column}
  .pcard-partner .btn{justify-content:center}
  .pjoin .btn{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.pcard,.pcard-ic,.pstep-n{transition:none}}

/* hero doodles from the brand library (img/p/), a touch bigger than the home set */
.p-hero .sc-star{width:calc(58px * var(--dk,1))}
.p-hero .sc-bulb{width:calc(60px * var(--dk,1))}
.p-hero .sc-clap{width:calc(54px * var(--dk,1))}
.p-hero .sc-sprout{width:calc(48px * var(--dk,1))}
@media (max-width:880px){.p-hero .sc-star{width:calc(38px * var(--dk,1))}.p-hero .sc-bulb{width:calc(40px * var(--dk,1))}.p-hero .sc-clap{width:calc(36px * var(--dk,1))}.p-hero .sc-sprout{width:calc(32px * var(--dk,1))}}
.pjoin .h2{font-size:clamp(26px,3.2vw,42px)}
