/* Partner programs page */

.pp-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* Horizontal inset comes from the nested .container, not from the section
   itself — this padding is vertical only. */
.pp-section {
  background: var(--color-white);
  padding: var(--space-section-md) 0;
}

/* The old site drew this tint at #f1efe8, one shade darker than the
   #f7f6f1 card-fill cream. Reusing --color-cream here matches the
   consolidation already made on the decommissioning page. */
.pp-section-tint {
  background: var(--color-cream);
}

.pp-section-navy {
  background: var(--color-navy-1);
}

.pp-section-narrow .container {
  max-width: 900px;
}

.pp-heading-on-dark {
  color: var(--color-white);
}

.pp-intro {
  max-width: 720px;
}

.pp-intro h2 {
  margin-top: 16px;
  color: var(--color-ink);
}

.pp-intro-lead {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--color-muted);
}

/* ---------- hero ---------- */

.pp-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-navy);
}

.pp-hero-media {
  position: absolute;
  inset: -10% -5% -5%;
  z-index: 0;
}

/* The hero photo. The section keeps --gradient-navy as its own background, so
   if the image ever fails to load the hero falls back to flat navy rather than
   to white — which is also why the placeholder rule below is kept even though
   nothing uses it on this page today. */
.pp-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-hero-media .image-pending {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
  background: var(--gradient-navy);
}

/* Scrim dropped from 0.82/0.62/0.72 to 0.55/0.42/0.48 now that a real photograph
   sits under it instead of a gradient. The two go together: the photo is exported
   at 50% exposure, so a lighter scrim still lands on a dark composite. Measured
   against the lightest 5% of the image, the 78%-white lead copy reads 5.7:1 —
   better than the 4.1:1 it got from a full-brightness photo under the old heavy
   scrim, while showing 45% of the picture instead of 18%.
   Change one of these and you have to re-check the other. */
.pp-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(10, 20, 30, 0.55) 0%, rgba(16, 28, 40, 0.42) 50%,
    rgba(20, 36, 50, 0.48) 100%);
}

.pp-hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px var(--gutter) 96px;
}

/* 1100, not 820. At 820 the headline used less than half of a 1800px screen and
   the right side read as an empty column rather than as whitespace. The lead
   paragraph keeps its own tighter measure below, so line length stays readable
   — it's only the headline that gets the extra room. */
.pp-hero-content {
  max-width: 1100px;
}

.pp-hero-content h1 {
  color: var(--color-white);
}

.pp-highlight {
  color: var(--color-accent);
}

.pp-hero-lead {
  margin-top: 26px;
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.pp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.pp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pp-stat-num {
  font-size: 1.6875rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-accent);
}

.pp-stat-label {
  margin-top: 7px;
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- who partners with us ---------- */

.pp-audience-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.pp-audience-card {
  padding-bottom: 32px;
}

.pp-audience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-accent-tint-bg);
  color: var(--color-accent-text);
  font-size: 1.1875rem;
  line-height: 1;
}

.pp-audience-card h3 {
  margin-top: 20px;
  font-size: var(--text-md);
  letter-spacing: -0.02em;
}

.pp-audience-card p {
  margin-top: 11px;
  font-family: var(--font-serif);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-muted);
}

/* The kicker line under each card heading, replacing three inline styles.
   Two things changed on the way in. It used --color-accent, which is the fill
   green and measures 1.97:1 on the cream card — --color-accent-text exists for
   text on light and gets it to 4.92:1. And it was an <h5> directly after an
   <h3>, so the page skipped a heading level for what is really a label, not a
   section; it's a <p> now.
   Note the selector has to name the element to beat `.pp-audience-card p`
   above, which is also 0-1-1 and would otherwise repaint it muted serif. */
.pp-audience-card p.pp-audience-kicker {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}

/* ---------- two ways to run it ---------- */

.pp-model-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.pp-model-card {
  padding: clamp(30px, 3.4vw, 42px);
  display: flex;
  flex-direction: column;
}

.pp-model-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-text);
}

.pp-model-title {
  margin-top: 14px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.pp-model-copy {
  flex: 1;
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.pp-model-points {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-model-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--color-ink);
}

/* Same treatment as the ITF checklist on the home page: a real checkbox mark
   nudged onto the optical center of the first line of text beside it. */
.pp-check {
  flex: none;
  display: flex;
  margin-top: 2px;
  color: var(--color-accent-text);
}

/* ---------- what we operate ---------- */

.pp-operate-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.pp-operate-card {
  padding: 26px 24px;
}

.pp-operate-card h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.pp-operate-card p {
  margin-top: 9px;
  font-family: var(--font-serif);
  font-size: 0.90625rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* ---------- dealer partnership ---------- */

.pp-dealer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.pp-dealer-content h2 {
  margin-top: 16px;
}

.pp-dealer-copy {
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
}

.pp-dealer-copy a {
  color: var(--color-accent);
}

.pp-dealer-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.pp-dealer-media {
  position: relative;
  height: clamp(280px, 32vw, 400px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pp-dealer-media .image-pending {
  height: 100%;
}

.pp-dealer-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- tree callout band ---------- */

.pp-tree-band {
  background: var(--color-accent-soft);
  padding: clamp(60px, 9vh, 100px) 0;
}

.pp-tree-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.pp-tree-content {
  max-width: 620px;
}

.pp-tree-content h3 {
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pp-tree-content p {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-accent-text);
}

.pp-tree-cta {
  white-space: nowrap;
  padding: 15px 32px;
  font-size: var(--text-sm);
}

/* ---------- final CTA ---------- */

.pp-cta {
  position: relative;
  padding: var(--space-section-lg) 0;
  background: var(--gradient-navy);
  overflow: hidden;
}

/* Photo at full strength with the colour coming from a scrim on top — see the
   matching note on .quote-media in home.css. Same treatment, navy instead of
   forest, so the two CTA bands read as one system. */
.pp-cta-bg {
  position: absolute;
  inset: -12%;
}

.pp-cta-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 0.82 is measured, not picked by eye. Composited against the lightest 5% of
   the photo it leaves the 74%-white lead copy at about 5.1:1 — clear of the
   4.5:1 AA floor with room for the gradient to shift. At 0.78 it was 4.55:1,
   which passes but leaves nothing spare. Lowering this is a contrast change,
   not just a styling one. */
.pp-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-navy);
  opacity: 0.82;
  z-index: 1;
}

.pp-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
}

.pp-cta-lead {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.pp-cta-actions {
  justify-content: center;
}

.pp-cta-note {
  margin-top: 26px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}
