/* Partner about pages, partner stories and the partners index (24 Nov 2026, third pass).
   The pattern follows the Moonlight partner page: a wide photo banner with the partner's logo and
   button, a facts bar, their story beside a photo, a photo row, an offer band, then the partner tiles.
   A story uses the same banner, carrying its title, so the two page types read as one family.
   Everything here is scoped to .pp (the <main> of these pages) or a .pp- class. */

.pp { background: #FFFFFF; color: var(--ink); font-family: var(--font-body); }
.pp-wide { max-width: 1320px; margin: 0 auto; padding: 0 var(--section-pad-h); box-sizing: border-box; }
.pp em { font-family: var(--font-display); font-style: italic; font-weight: 300; color: #7C3AED; }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pp-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}
.pp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: #4A4160;
  text-decoration: none;
}
.pp-back:hover, .pp-back:focus-visible { color: #7C3AED; }
.pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pp-btn:hover, .pp-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
@media (prefers-reduced-motion: reduce) { .pp-btn { transition: none; } .pp-btn:hover, .pp-btn:focus-visible { transform: none; } }

/* hero: a wide photo banner. The photo fills the right of the card and melts into the
   partner's own colour through a mask, so there is no visible seam and no tinted wash. */
.pp-hero {
  padding: 108px 0 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, #F4F0FC 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 90% 20%, #FDF2F8 0%, transparent 55%),
    #FAF8FF;
}
.pp-hero .pp-wide { max-width: 1560px; padding: 0 24px; }
.pp-hero-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(600px, 68vh);
  border-radius: 32px;
  overflow: hidden;
  background: var(--pp-block);
  box-shadow: 0 34px 70px -32px rgba(28, 18, 41, 0.5);
}
.pp-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; }
.pp-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.04) 6%, rgba(0,0,0,0.14) 12%, rgba(0,0,0,0.3) 19%, rgba(0,0,0,0.52) 27%, rgba(0,0,0,0.74) 35%, rgba(0,0,0,0.9) 43%, #000 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.04) 6%, rgba(0,0,0,0.14) 12%, rgba(0,0,0,0.3) 19%, rgba(0,0,0,0.52) 27%, rgba(0,0,0,0.74) 35%, rgba(0,0,0,0.9) 43%, #000 52%);
}
.pp-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 46%;
  max-width: 620px;
  box-sizing: border-box;
  padding: 72px 24px 72px 72px;
  color: #FFFFFF;
}
.pp-hero-logo { display: block; width: auto; height: auto; max-width: min(400px, 100%); max-height: 96px; object-fit: contain; object-position: left center; }
.pp-hero-logo-small { max-width: min(220px, 70%); max-height: 44px; }
.pp-hero-line { margin: 0; max-width: 30em; font-size: 20px; line-height: 1.5; font-weight: 400; color: rgba(255, 255, 255, 0.94); }
.pp-hero-copy h1.pp-post-title {
  margin: 0;
  font-size: clamp(34px, 3.9vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #FFFFFF;
}
.pp-hero-copy h1.pp-post-title em { color: inherit; font-weight: 300; }
.pp-hero-post .pp-hero-line { font-size: 16px; color: rgba(255, 255, 255, 0.82); }
.pp-draft {
  display: inline-block;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFF3C4;
  border: 1px solid #F0C419;
  font-size: 13px;
  font-weight: 700;
  color: #5A4500;
}

.pp-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 24px 38px;
  box-sizing: border-box;
}
.pp-fact { padding: 0 28px; border-left: 1px solid #E6DEF6; }
.pp-fact:first-child { border-left: 0; padding-left: 0; }
.pp-fact dt { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: #6B6380; }
.pp-fact dd { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }

/* their story beside a photo */
.pp-story { padding: 96px 0; }
.pp-story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.pp-story-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #F1ECFA; }
.pp-story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-story-copy h2 { margin: 0 0 24px; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.pp-story-copy p { margin: 0 0 18px; font-size: 18px; line-height: 1.7; font-weight: 400; color: #2E2642; }
.pp-story-copy p.pp-lede { font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.pp-story-copy p em { font-family: inherit; font-style: italic; font-weight: inherit; color: inherit; }
.pp-story-copy p.pp-byline { margin: 26px 0 0; font-size: 14px; color: #6B6380; }

/* photo row */
.pp-gallery { padding: 0 0 96px; }
.pp-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pp-gallery-grid figure { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; background: #F1ECFA; }
.pp-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A partner whose photos are landscape gets landscape tiles. */
.pp-gallery-wide figure { aspect-ratio: 4 / 3; }

/* offer band, and the "about the partner" band under a story */
.pp-offer { padding: 0 0 72px; }
.pp-offer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  border-radius: 32px;
  overflow: hidden;
  background: var(--pp-block);
  color: #FFFFFF;
}
.pp-offer-photo { position: relative; min-height: 380px; background: #F4F1EC; }
.pp-offer-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-offer-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 56px 64px; }
.pp-offer-copy h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; color: #FFFFFF; }
.pp-offer-logo { display: block; width: auto; height: auto; max-width: min(300px, 100%); max-height: 64px; object-fit: contain; object-position: left center; }
.pp-offer-code { margin: 0 0 6px; max-width: 30em; font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, 0.94); }
.pp-offer-code strong {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}
.pp-offer-social { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.pp-post-about { padding-top: 88px; }

/* link to their story */
.pp-read { padding: 0 0 56px; }
.pp-read-card {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  border: 1px solid #E6DEF6;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  background: #FAF8FF;
  transition: box-shadow 0.15s, transform 0.15s;
}
.pp-read-card:hover, .pp-read-card:focus-visible { box-shadow: 0 18px 40px -22px rgba(28, 18, 41, 0.4); transform: translateY(-2px); }
.pp-read-photo { position: relative; min-height: 230px; }
.pp-read-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-read-copy { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px 48px; }
.pp-read-title { font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.pp-read-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #7C3AED; }

/* Centred on the page (Nick, 27 Nov 2026). */
.pp-disclosure {
  margin: 0 auto 72px;
  padding-top: 22px;
  border-top: 1px solid #ECE7F7;
  max-width: 860px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: #6B6380;
}
.pp-disclosure strong { color: var(--ink); font-weight: 700; }

/* a story */
.pp-post-body { max-width: 820px; margin: 72px auto 0; padding: 0 var(--section-pad-h); box-sizing: content-box; }
.pp-post-body p, .pp-post-body li { font-size: 19px; line-height: 1.75; font-weight: 400; color: #2E2642; }
.pp-post-body p { margin: 0 0 22px; }
.pp-post-body p.pp-written {
  margin: 0 0 40px;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid #E6DEF6;
  background: #FAF8FF;
  font-size: 15.5px;
  line-height: 1.55;
  color: #3B3350;
}
.pp-post-body p.pp-written strong { color: var(--ink); font-weight: 700; }
.pp-post-body p.pp-lede { font-size: 25px; line-height: 1.45; font-weight: 500; color: var(--ink); margin-bottom: 30px; }
.pp-post-body h2 { margin: 60px 0 18px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.pp-post-body h3 { margin: 34px 0 10px; font-size: 22px; line-height: 1.3; font-weight: 700; }
.pp-post-body ul, .pp-post-body ol { margin: 0 0 24px; padding-left: 24px; }
.pp-post-body li { margin-bottom: 8px; }
.pp-post-body a { color: #7C3AED; font-weight: 600; }
/* Emphasis inside a partner's own words stays plain italic. The purple display italic is for our headings only. */
.pp-post-body em { font-family: inherit; font-style: italic; font-weight: inherit; color: inherit; }
.pp-post-body blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid #7C3AED;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 27px;
  line-height: 1.4;
  color: var(--ink);
}
.pp-post-figure { margin: 52px -170px; border-radius: 28px; overflow: hidden; background: #F1ECFA; }
.pp-post-figure img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.pp-table { margin: 0 0 28px; overflow-x: auto; border: 1px solid #E6DEF6; border-radius: 18px; }
.pp-table table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }
.pp-table th, .pp-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid #EEE8FA; }
.pp-table th { background: #FAF8FF; font-weight: 700; }
.pp-table tr:last-child td { border-bottom: 0; }

/* Questions and answers open and close, like the site's own FAQ. */
.pp-faqs { display: grid; gap: 12px; margin: 0 0 28px; }
.pp-faq { border: 1px solid #E6DEF6; border-radius: 18px; background: #FFFFFF; overflow: hidden; }
.pp-faq[open] { background: #FAF8FF; }
.pp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
  content: "+";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1ECFA;
  color: #7C3AED;
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  text-align: center;
}
.pp-faq[open] summary::after { content: "\2212"; }
.pp-faq-a { padding: 0 24px 6px; }
.pp-post-body .pp-faq-a p { font-size: 17.5px; margin-bottom: 16px; }

/* the partners index */
.pp-index-head {
  padding: 150px var(--section-pad-h) 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 30% 30%, #F4F0FC 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 70%, #FDF2F8 0%, transparent 55%),
    #FAF8FF;
}
.pp-index-head h1 { margin: 0 auto 14px; max-width: 900px; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; }
.pp-index-head p { margin: 0; font-size: 20px; color: #4A4160; }
.pp-index { padding: 64px 0 8px; }
.pp-group { margin: 0 0 22px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.pp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 64px; }
.pp-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #E6DEF6;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
.pp-card:hover, .pp-card:focus-visible { box-shadow: 0 18px 40px -22px rgba(28, 18, 41, 0.4); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .pp-card, .pp-read-card { transition: none; } .pp-card:hover, .pp-read-card:hover { transform: none; } }
.pp-card-photo { position: relative; aspect-ratio: 16 / 10; background: #F1ECFA; }
.pp-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-card-logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 7; padding: 24px 40px; }
.pp-card-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 56px; object-fit: contain; }
.pp-card-copy { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.pp-card-title { font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.pp-card-text { font-size: 16px; line-height: 1.6; color: #4A4160; }
.pp-card-meta { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: #6B6380; }

/* the partner space */
.pp-partners { background: #FAF8FF; padding: 80px var(--section-pad-h) 96px; }
.pp-partners-inner { max-width: 1320px; margin: 0 auto; }
.pp-partners-title { margin: 0 0 30px; text-align: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.025em; }
.pp-partners .mwm-partner-slot { margin-top: 0; max-width: none; }
/* The tiles were drawn for the app's font. On the website they use the site's own. */
.pp-partners .pt[data-v-f9274452], .pp-partners .pz[data-v-8c987dcc] { font-family: var(--font-body); }

/* the way back to MidwithMe, in the same recipe as the homepage's closing section:
   purple, a warm halo at the top, a deep shadow at the foot, and film grain over the top */
.pp-join {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #7C3AED;
  padding: 112px var(--section-pad-h) 120px;
  text-align: center;
}
.pp-join::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(255,202,1,0.18) 0%, rgba(255,202,1,0.08) 24%, transparent 55%),
    radial-gradient(ellipse 100% 50% at 50% 110%, rgba(45,18,80,0.55) 0%, rgba(45,18,80,0.25) 30%, transparent 60%);
}
.pp-join::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.88  0 0 0 0 0.55  0 0 0 0.9 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 260px 260px;
}
.pp-join-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.pp-join h2 { margin: 0 0 18px; color: #FFFFFF; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -2px; font-weight: 700; }
.pp-join h2 em { font-family: var(--font-display); font-style: italic; font-weight: 400; color: #FFCA01; }
.pp-join p { margin: 0 auto 36px; max-width: 520px; color: rgba(255, 255, 255, 0.78); font-size: 17px; line-height: 1.65; font-weight: 300; }
.pp-join-btn {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  background: #FFCA01;
  color: #1C1229;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.pp-join-btn:hover, .pp-join-btn:focus-visible { background: #FFFFFF; transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .pp-join-btn { transition: none; } .pp-join-btn:hover, .pp-join-btn:focus-visible { transform: none; } }

/* tablet and phone */
@media (max-width: 1240px) {
  .pp-post-figure { margin-left: -60px; margin-right: -60px; }
  .pp-story-grid { gap: 48px; }
}
@media (max-width: 980px) {
  .pp-post-figure { margin-left: 0; margin-right: 0; }
  .pp-hero-copy { width: 54%; padding-left: 44px; }
  .pp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-offer-copy { padding: 40px 36px; }
}
@media (max-width: 760px) {
  .pp-hero { padding-top: 96px; }
  .pp-hero .pp-wide { padding: 0 16px; }
  .pp-hero-card { display: block; min-height: 0; border-radius: 24px; }
  .pp-hero-photo { position: relative; width: 100%; aspect-ratio: 4 / 3; }
  .pp-hero-photo img {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0,0,0,0.7) 68%, rgba(0,0,0,0.3) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 50%, rgba(0,0,0,0.7) 68%, rgba(0,0,0,0.3) 84%, transparent 100%);
  }
  .pp-hero-copy { width: 100%; max-width: none; padding: 4px 24px 34px; gap: 16px; }
  .pp-hero-logo { max-height: 60px; }
  .pp-hero-line { font-size: 17px; }
  .pp-facts { grid-template-columns: 1fr; row-gap: 16px; padding: 26px 24px 30px; }
  .pp-fact, .pp-fact:first-child { border-left: 0; padding: 0; }
  .pp-story { padding: 56px 0; }
  .pp-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .pp-story-photo { aspect-ratio: 4 / 3; }
  .pp-gallery { padding-bottom: 56px; }
  .pp-gallery-grid { gap: 10px; }
  .pp-gallery-grid figure { border-radius: 14px; }
  .pp-offer-card { grid-template-columns: 1fr; border-radius: 24px; }
  .pp-offer-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .pp-offer-copy { padding: 30px 24px 34px; }
  .pp-post-about { padding-top: 56px; }
  .pp-read-card { grid-template-columns: 1fr; }
  .pp-read-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .pp-read-copy { padding: 24px; }
  .pp-post-body { margin-top: 44px; }
  .pp-post-body p, .pp-post-body li { font-size: 17px; }
  .pp-post-body p.pp-lede { font-size: 21px; }
  .pp-post-body blockquote { font-size: 22px; padding-left: 18px; }
  .pp-post-figure { margin: 32px 0; border-radius: 18px; }
  .pp-faq summary { font-size: 17px; padding: 16px 18px; }
  .pp-faq-a { padding: 0 18px 4px; }
  .pp-cards { grid-template-columns: 1fr; }
  .pp-index-head { padding-top: 116px; }
  .pp-join { padding: 80px var(--section-pad-h) 88px; }
}

/* about pages, 25 Nov: the banner runs edge to edge, a facts card sits over its lower edge,
   a follow card sits between the photo row and the offer, and the offer sits on a tinted band */
.pp-hero-full { padding: 0; background: var(--pp-block); }
.pp-hero-full .pp-hero-card { border-radius: 0; box-shadow: none; min-height: min(720px, 86vh); }
.pp-hero-full .pp-hero-copy { width: 50%; max-width: none; padding: 150px 24px 150px max(var(--section-pad-h), calc((100vw - 1320px) / 2 + var(--section-pad-h))); }
/* The two cards are the widest things on the page: wider than the photo row and the offer. */
.pp-xwide { max-width: 1560px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.pp-hero-full .pp-back { margin: 0; color: rgba(255, 255, 255, 0.85); }
.pp-hero-full .pp-back:hover, .pp-hero-full .pp-back:focus-visible { color: #FFFFFF; }

.pp-facts-card {
  position: relative;
  z-index: 3;
  max-width: none;
  margin: -64px auto 0;
  padding: 34px 56px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 28px 60px -26px rgba(28, 18, 41, 0.42), 0 2px 8px rgba(28, 18, 41, 0.06);
}

/* The people behind the brand: a round photo, name, role, and a line about them (Nick, 27 Nov 2026). */
.pp-team { padding: 0 0 88px; }
.pp-team h2 { margin: 0 0 56px; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-align: center; }
.pp-team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 64px; margin: 0; padding: 0; list-style: none; }
.pp-team-person { display: flex; flex-direction: column; align-items: center; flex: 0 0 230px; width: 230px; }
.pp-team-photo { display: block; width: 184px; height: 184px; border-radius: 50%; object-fit: cover; background: #F3EEFB; box-shadow: 0 0 0 4px #FFFFFF, 0 0 0 6px var(--pp-block); }
.pp-team-name { margin-top: 24px; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-align: center; }
.pp-team-role { margin-top: 4px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--pp-block); text-align: center; }
.pp-team-about { align-self: stretch; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); text-align: left; }

.pp-social { padding: 0 0 96px; }
.pp-social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  margin: 0 auto;
  padding: 32px 56px;
  box-sizing: border-box;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 28px 60px -26px rgba(28, 18, 41, 0.42), 0 2px 8px rgba(28, 18, 41, 0.06);
}
.pp-social-card h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.pp-social-links { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.pp-social-link { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.pp-social-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--pp-block); color: #FFFFFF; transition: transform 0.15s; }
.pp-social-icon svg { display: block; width: 20px; height: 20px; }
.pp-social-link:hover .pp-social-icon, .pp-social-link:focus-visible .pp-social-icon { transform: translateY(-2px); }
.pp-social-link:hover .pp-social-handle, .pp-social-link:focus-visible .pp-social-handle { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .pp-social-icon { transition: none; } .pp-social-link:hover .pp-social-icon, .pp-social-link:focus-visible .pp-social-icon { transform: none; } }

.pp-offer-band { padding: 88px 0; margin-bottom: 72px; background: #F6F1FD; background: color-mix(in srgb, var(--pp-block) 10%, #FFFFFF); }

@media (max-width: 760px) {
  .pp-hero-full { padding-top: 0; }
  .pp-hero-full .pp-hero-card { border-radius: 0; min-height: 0; }
  .pp-hero-full .pp-hero-copy { width: 100%; padding: 8px 24px 76px; }
  .pp-xwide { padding: 0 16px; }
  .pp-facts-card { margin-top: -44px; padding: 24px; border-radius: 20px; }
  .pp-team { padding-bottom: 56px; }
  .pp-team h2 { margin-bottom: 36px; }
  .pp-team-grid { gap: 36px 20px; }
  .pp-team-person { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); }
  .pp-team-1 .pp-team-person { flex-basis: 260px; width: 260px; }
  .pp-team-photo { width: 128px; height: 128px; }
  .pp-social { padding-bottom: 56px; }
  .pp-social-card { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; border-radius: 20px; }
  .pp-social-links { flex-direction: column; gap: 14px; }
  .pp-offer-band { padding: 48px 0; margin-bottom: 48px; }
}

/* partners index, 25 Nov: the tilted photo wall, carried over from the Moonlight theme. A rounded
   dark card; the photos sit in columns turned 45 degrees and keep to the right, the heading sits
   at the bottom left over a tint. The columns slide with the page scroll (a small script on the
   page), never on their own. */
.pp-wall { padding: 96px 32px 0; background: #FAF8FF; }
.pp-wall-box {
  position: relative;
  width: min(2592px, 100%);
  height: 420px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #2A1454;
  container-type: size;
  box-shadow: 0 3px 10px rgba(28, 18, 41, 0.10), 0 24px 50px -18px rgba(28, 18, 41, 0.40);
}
.pp-wall-area { position: absolute; inset: 0; z-index: 0; overflow: hidden; container-type: size; }
.pp-wall-rotor {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 170%;
  width: calc((100cqw + 100cqh) * 0.7071 + 80px);
  height: calc((100cqw + 100cqh) * 0.7071 + 80px);
  padding-left: calc((100cqw + 100cqh) * 0.35355 + 40px - 0.14142 * 100cqw);
  box-sizing: border-box;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.pp-wall-col { display: flex; flex: 1 1 0; flex-direction: column; gap: 18px; min-width: 0; will-change: transform; }
.pp-wall-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  padding: 18px 22px;
  box-sizing: border-box;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  text-decoration: none;
  isolation: isolate;
  transition: filter 0.35s ease;
}
.pp-wall-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pp-wall-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 10, 40, 0.5), rgba(20, 10, 40, 0) 55%); }
.pp-wall-name { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.pp-wall-story .pp-wall-name { font-size: 19px; line-height: 1.2; }
.pp-wall-logo { align-items: center; justify-content: center; padding: 0 14%; }
.pp-wall-logo::after { display: none; }
.pp-wall-logo img { position: static; z-index: auto; width: auto; height: auto; max-width: 100%; max-height: 34%; object-fit: contain; }
@media (hover: hover) { .pp-wall-card:hover { filter: brightness(1.3); } }
.pp-wall-card:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -3px; }
.pp-wall-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #2A1454;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.14) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.14) 100%);
}
.pp-wall-copy {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  --tc-left: 56px;
  max-width: calc(620px + var(--tc-left));
  padding: 0 40px 52px var(--tc-left);
  box-sizing: border-box;
  color: #FFFFFF;
  pointer-events: none;
}
.pp-wall-copy h1 { margin: 0; font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; color: #FFFFFF; }
.pp-wall-copy p { margin: 0; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 749px) {
  .pp-wall { padding: 88px 16px 0; }
  .pp-wall-box { height: 380px; border-radius: 20px; }
  .pp-wall-rotor { padding-left: 0; }
  .pp-wall-rotor, .pp-wall-col { gap: 10px; }
  .pp-wall-card { padding: 12px 14px; border-radius: 14px; }
  .pp-wall-name { font-size: 15px; }
  .pp-wall-story .pp-wall-name { font-size: 13px; }
  .pp-wall-tint {
    -webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.14) 100%);
    mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.14) 100%);
  }
  .pp-wall-copy { gap: 10px; padding: 0 22px 28px; }
  .pp-wall-copy h1 { font-size: 34px; }
  .pp-wall-copy p { font-size: 15.5px; }
}

/* partners index, 25 Nov: the Official Platform Partner as one big card, photo on the left and
   words on the right on the partner's colour. The Amplified Partners sit in a row underneath. */
.pp-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin: 0 0 48px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--pp-block);
  color: #FFFFFF;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}
.pp-feature:hover, .pp-feature:focus-visible { box-shadow: 0 22px 46px -24px rgba(28, 18, 41, 0.5); transform: translateY(-2px); }
.pp-feature-photo { position: relative; min-height: 420px; background: #F1ECFA; }
.pp-feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-feature-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: 56px 64px; }
.pp-feature-logo { display: block; width: auto; height: auto; max-width: min(260px, 100%); max-height: 60px; object-fit: contain; object-position: left center; }
.pp-feature-title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.pp-feature-text { max-width: 30em; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.pp-feature-meta { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, 0.86); }
.pp-subgroup { margin: 0 0 20px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
/* A lone card takes half the row, not all of it (live site, 30 Nov 2026: one card per row stretched into a huge block). */
.pp-cards-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (prefers-reduced-motion: reduce) { .pp-feature { transition: none; } .pp-feature:hover, .pp-feature:focus-visible { transform: none; } }
@media (max-width: 760px) {
  .pp-feature { grid-template-columns: 1fr; margin-bottom: 36px; border-radius: 22px; }
  .pp-feature-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .pp-feature-copy { padding: 28px 24px 32px; gap: 12px; }
  .pp-feature-text { font-size: 16px; }
  .pp-cards-2 { grid-template-columns: 1fr; }
  .pp-cards-1 { grid-template-columns: 1fr; }
}

/* stories, 26 Nov: the header card is the widest thing on the page and the soft background
   carries on beneath it. On about pages the partner strip matches the wide cards. */
.pp-hero-post { padding-bottom: 72px; }
.pp-hero-post .pp-wide { max-width: 1880px; padding: 0 24px; }
.pp-partners-x { padding-left: 24px; padding-right: 24px; }
.pp-partners-x .pp-partners-inner { max-width: 1512px; }
@media (max-width: 760px) {
  .pp-hero-post { padding-bottom: 40px; }
  .pp-hero-post .pp-wide { padding: 0 16px; }
  .pp-partners-x { padding-left: var(--section-pad-h); padding-right: var(--section-pad-h); }
}

/* questions in a story, in the same recipe as the homepage FAQ: hairline rows, a round plus that
   turns into a cross when open, and a soft tint under the pointer */
.pp-faqs { display: block; margin: 0 0 28px; border-top: 1px solid var(--hairline, #E8E0F5); }
.pp-faq, .pp-faq[open] { border: 0; border-bottom: 1px solid var(--hairline, #E8E0F5); border-radius: 0; background: none; overflow: visible; }
.pp-faq summary { padding: 22px 16px; gap: 20px; font-size: 17px; font-weight: 500; color: var(--ink); transition: color 0.3s ease, background-color 0.2s ease; }
.pp-faq summary:hover, .pp-faq summary:focus-visible { color: var(--purple, #7C3AED); background: #FBF4FB; }
.pp-faq[open] summary { color: var(--purple, #7C3AED); }
.pp-faq summary::after {
  width: 28px;
  height: 28px;
  background: var(--lavender, #F4F0FC);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.32s ease, color 0.32s ease;
}
.pp-faq[open] summary::after { content: "+"; background: var(--purple, #7C3AED); color: #FFFFFF; transform: rotate(45deg); }
.pp-faq-a { padding: 4px 16px 10px; }
@media (prefers-reduced-motion: reduce) { .pp-faq summary, .pp-faq summary::after { transition: none; } }
@media (max-width: 760px) {
  .pp-faq summary { font-size: 16px; padding: 18px 10px; }
  .pp-faq-a { padding: 2px 10px 8px; }
}

/* the other partners at the bottom of an about page or a story */
.pp-more { padding: 0 0 8px; }
.pp-post-about + .pp-more { padding-top: 16px; }

/* a story: one photo beside its section, photo left and words right, at the about page's width */
.pp-post-split {
  --w: min(1320px, calc(100vw - 2 * var(--section-pad-h) - 20px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  width: var(--w);
  margin: 80px 0 80px calc((100% - var(--w)) / 2);
}
.pp-post-split-photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: #F1ECFA; }
.pp-post-split-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-post-split-copy > h2:first-child { margin-top: 0; }
.pp-post-split-copy > :last-child { margin-bottom: 0; }
@media (max-width: 1240px) { .pp-post-split { gap: 48px; } }
@media (max-width: 980px) {
  .pp-post-split { display: block; width: auto; margin: 44px 0; }
  .pp-post-split-photo { aspect-ratio: 4 / 3; margin-bottom: 28px; }
}
@media (max-width: 760px) { .pp-post-split-photo { border-radius: 18px; } }

/* questions in a story, laid out like the homepage FAQ (css/index.css, .faq-home-inner):
   the heading on the left, the questions on the right, 1100px wide, one column on small screens */
.pp-post-faq {
  --w: min(1100px, calc(100vw - 2 * var(--section-pad-h) - 20px));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
  width: var(--w);
  margin: 80px 0 80px calc((100% - var(--w)) / 2);
}
.pp-post-body .pp-post-faq-head h2 { margin: 0; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -1.6px; }
.pp-post-faq .pp-faqs { margin: 0; }
.pp-post-faq .pp-faq summary { padding: 22px 12px; font-size: 16px; }
.pp-post-faq .pp-faq-a { padding: 0 12px 6px; }
.pp-post-body .pp-post-faq .pp-faq-a p { font-size: 15px; line-height: 1.7; font-weight: 300; color: var(--mid, #2C1F44); }
@media (max-width: 980px) {
  .pp-post-faq { grid-template-columns: 1fr; gap: 28px; width: auto; margin: 56px 0; }
}

/* other-partner cards always fill the row: thirds, or halves where a third would leave a gap */
.pp-cards-fill { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pp-span-2 { grid-column: span 2; }
.pp-span-3 { grid-column: span 3; }
.pp-span-6 { grid-column: span 3; }
@media (max-width: 980px) { .pp-cards-fill > .pp-card { grid-column: span 3; } }
@media (max-width: 760px) { .pp-cards-fill { grid-template-columns: 1fr; } .pp-cards-fill > .pp-card { grid-column: auto; } }

/* phone pass, 27 Nov (Nick): rows that scroll sideways with a bar under them, a better About section
   on a phone, the banner without its button, the facts card on a band of the partner's colour, their
   website as its own band, and a white ground behind the story header. */

/* about banner: shorter now the button has gone, and the photo also melts downward so the colour
   carries on under it without a seam */
.pp-hero-full .pp-hero-card { min-height: min(600px, 76vh); }
.pp-hero-full .pp-hero-copy { padding-bottom: 88px; }
@media (min-width: 761px) {
  .pp-hero-full .pp-hero-photo img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.04) 6%, rgba(0,0,0,0.14) 12%, rgba(0,0,0,0.3) 19%, rgba(0,0,0,0.52) 27%, rgba(0,0,0,0.74) 35%, rgba(0,0,0,0.9) 43%, #000 52%), linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.04) 6%, rgba(0,0,0,0.14) 12%, rgba(0,0,0,0.3) 19%, rgba(0,0,0,0.52) 27%, rgba(0,0,0,0.74) 35%, rgba(0,0,0,0.9) 43%, #000 52%), linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
    mask-composite: intersect;
  }
}
/* the facts card: the partner's colour comes three fifths of the way down behind it */
.pp-facts-band { background: linear-gradient(to bottom, var(--pp-block) 60%, #FFFFFF 60%); }
.pp-facts-band .pp-facts-card { margin-top: 0; }

/* their website: one band in their colour, edge to edge, a heading and a button */
.pp-visit { margin: 0 0 88px; padding: 76px var(--section-pad-h); background: var(--pp-block); text-align: center; }
.pp-visit h2 { margin: 0 0 26px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; color: #FFFFFF; }

/* the story header is itself the card, so the ground behind it is plain white */
.pp-hero.pp-hero-post { background: #FFFFFF; }

/* the bar under a row that scrolls sideways. Hidden until the script finds the row really scrolls. */
.pp-scrollbar { height: 4px; margin: 16px 0 0; border-radius: 999px; background: #ECE7F7; overflow: hidden; }
.pp-scrollbar[hidden] { display: none; }
.pp-scrollbar span { display: block; width: 30%; height: 100%; border-radius: 999px; background: var(--pp-block, #7C3AED); will-change: transform; }
.pp-gallery .pp-scrollbar { margin-left: var(--section-pad-h); margin-right: var(--section-pad-h); }

@media (max-width: 760px) {
  .pp-hero-full .pp-hero-card { min-height: 0; }
  .pp-hero-full .pp-hero-copy { padding-bottom: 30px; }
  .pp-visit { margin-bottom: 56px; padding-top: 52px; padding-bottom: 56px; }

  /* a row that scrolls sideways: each card nearly fills the screen and the next one peeks in */
  .pp-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0;
    margin-left: calc(-1 * var(--section-pad-h));
    margin-right: calc(-1 * var(--section-pad-h));
    padding: 4px var(--section-pad-h) 6px;
    scroll-padding-left: var(--section-pad-h);
  }
  .pp-scroll::-webkit-scrollbar { display: none; }
  /* a mouse can drag the row (the small script on the page); snapping waits until the drag ends */
  .pp-scroll { cursor: grab; }
  .pp-scroll.pp-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
  .pp-scroll.pp-dragging a { pointer-events: none; }
  .pp-scroll > * { flex: 0 0 82%; min-width: 0; scroll-snap-align: start; }
  .pp-cards.pp-scroll + .pp-scrollbar { margin-bottom: 48px; }
  /* the gallery row is its own padded box, so it needs no pull to the edges */
  .pp-gallery-grid.pp-scroll { margin-left: auto; margin-right: auto; gap: 12px; }
  .pp-gallery-grid.pp-scroll > figure { flex-basis: 78%; border-radius: 18px; }
  /* room above and below for the ring round each photo, which sits outside the photo and would
     otherwise be cut off by the scrolling row */
  .pp-team-grid.pp-scroll { flex-wrap: nowrap; justify-content: flex-start; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
  .pp-team-grid.pp-scroll > .pp-team-person { flex: 0 0 150px; width: 150px; }

  /* About on a phone: the heading, then the photo, then the words at a size that reads on a small screen */
  .pp-story-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .pp-story-copy { display: contents; }
  .pp-story-copy h2 { order: -1; margin: 0; font-size: 30px; }
  .pp-story-photo { aspect-ratio: 16 / 10; border-radius: 18px; }
  .pp-story-copy p { order: 1; margin: 0; font-size: 16px; line-height: 1.65; }
  .pp-story-copy p.pp-lede { font-size: 18px; line-height: 1.5; }

  /* a table in a story: smaller on a phone so three columns fit without each word on its own line */
  .pp-table table { font-size: 14px; line-height: 1.45; }
  .pp-table th, .pp-table td { padding: 10px 12px; }
}

/* top menu on a narrow phone, 27 Nov (Nick: the menu button hung off the end of the pill). The shared
   menu needs 385px for the wordmark, Login, Join free and the menu button; an iPhone SE or mini is 375,
   and so is the partner preview's Phone size. Tighter gaps and button padding make it fit from 360.
   Partner pages only: the same overflow on the rest of the site is a separate fix in css/styles.css. */
@media (max-width: 400px) {
  .site-nav { gap: 6px; padding-left: 12px; }
  .site-nav .nav-actions { gap: 6px; }
  .site-nav .btn-ghost-sm, .site-nav .btn-nav-cta { padding: 8px 11px; }
}
