/* ═══════════════════════════════════════════════════════════════════════
   /partners — hub for the partner programs.
   Directory of programs as text + button (matches /resources), a purple
   "why partner" band, and a closer. Accent PURPLE. Hairline, no fills.
   ═══════════════════════════════════════════════════════════════════════ */
@import url("../_ds/fonts.css");
@import url("../_ds/theme.css");
@import url("../_shared/chrome.css");
@import url("../_shared/components.css");
@import url("../_shared/audience-switcher.css");

.pt-main { position: relative; z-index: 1; overflow-x: clip; }
.blur-t { opacity: 0; filter: blur(12px); transition: opacity 720ms cubic-bezier(0.22,1,0.36,1), filter 720ms cubic-bezier(0.22,1,0.36,1); transform: translateZ(0); backface-visibility: hidden; will-change: filter, opacity; }
.blur-t.is-in { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .blur-t { opacity: 1; filter: none; transition: none; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.pt-hero { max-width: 1080px; margin-inline: auto; padding: clamp(120px,16vh,180px) clamp(20px,5vw,72px) clamp(40px,6vh,72px); }
.pt-h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(44px,6.4vw,96px); line-height: 0.96; letter-spacing: -0.034em; color: var(--text-primary); margin: 0; }
.pt-sub { font-family: var(--font-base); font-size: clamp(16px,1.35vw,20px); line-height: 1.5; color: var(--text-secondary); margin: 24px 0 0; max-width: 52ch; }
.pt-hero-cta { margin-top: clamp(28px,4vh,42px); }
.pt-hero-cta .link-cta { align-self: center; padding-top: 4px; }

/* ── Programs directory (text + button, no cards) ─────────────────────── */
.pt-index { max-width: 1080px; margin-inline: auto; padding: clamp(30px,4vh,56px) clamp(20px,5vw,72px) clamp(60px,9vh,104px); display: flex; flex-direction: column; gap: clamp(38px,5vh,64px); }
.pt-group-label { font-family: var(--font-code); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); margin: 0 0 clamp(14px,2vh,22px); padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle); }
.pt-rows { display: grid; grid-template-columns: repeat(2,1fr); column-gap: clamp(28px,5vw,80px); row-gap: clamp(28px,4vh,44px); align-items: stretch; }
.pt-item { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.pt-item-t { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px,2.1vw,30px); line-height: 1.05; letter-spacing: -0.02em; color: var(--text-primary); }
.pt-item-d { font-family: var(--font-base); font-size: clamp(14px,1.05vw,16px); line-height: 1.5; color: var(--text-secondary); max-width: 44ch; }
.pt-item .link-cta { margin-top: auto; padding-top: 8px; }

/* ── Why-partner band (SOLID purple, top-right bloom) ─────────────────── */
.pt-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px,14vh,184px) clamp(20px,5vw,72px); }
.pt-band-fill { position: absolute; inset: 0; z-index: -1; background: #7C4FE8; clip-path: circle(0% at 100% 0%); transition: clip-path 920ms cubic-bezier(0.22,1,0.36,1); }
.pt-band.is-in .pt-band-fill { clip-path: circle(155% at 100% 0%); }
.pt-band-inner { position: relative; z-index: 1; max-width: 1160px; margin-inline: auto; }
.pt-band-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px,4.6vw,62px); line-height: 1.0; letter-spacing: -0.028em; color: #FFFFFF; margin: 0; }
.pt-band-list { list-style: none; margin: clamp(30px,4vh,54px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,44px); }
.pt-band-item { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,255,255,0.26); padding-top: 18px; }
.pt-band-k { font-family: var(--font-display); font-size: clamp(18px,1.8vw,25px); color: #FFFFFF; }
.pt-band-v { font-family: var(--font-base); font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.84); max-width: 32ch; }

/* ── Closer ───────────────────────────────────────────────────────────── */
.pt-end { padding: clamp(96px,16vh,200px) clamp(20px,5vw,72px); text-align: center; }
.pt-end-frame { max-width: 800px; margin-inline: auto; }
.pt-end-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px,5.6vw,82px); line-height: 0.96; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; }
.pt-end-h2 em { font-style: normal; color: var(--text-primary); }
.pt-end-cta { margin-top: clamp(28px,4vh,44px); }
.pt-end-links { font-family: var(--font-base); font-size: 14px; color: var(--text-tertiary); margin: 22px 0 0; }
.pt-end-links a { color: var(--text-secondary); text-decoration: none; border-bottom: 1px solid var(--border); }
.pt-end-links a:hover { color: var(--text-primary); }

@media (max-width: 760px) {
  .pt-rows { grid-template-columns: 1fr; row-gap: clamp(26px,4vh,34px); }
  .pt-band-list { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  /* stack is a column here (global cta-stack--inline rule): left-align
     "See the directory" under the button, not the row's vertical-centering. */
  .pt-hero-cta .link-cta { align-self: flex-start; padding-top: 0; }
}
@media (min-width: 1600px) { .pt-hero, .pt-index { max-width: 1240px; } }
