/* Partners page (/partners). Builds on app-modern.css: same palette, square corners,
   Neulis Sans for headings, the italic serif for lead-in lines. */

.pt-page {
  flex: 1;
  padding-bottom: 56px;
}

.pt-page .wrap {
  max-width: 1040px;
}

.pt-page .sc-eyebrow {
  margin-bottom: 8px;
}

/* Hero */
.pt-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 56px 0 36px;
}

.pt-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: var(--text-dark);
  margin: 0 0 14px;
  text-wrap: balance;
}

.pt-hero-title em {
  font-style: normal;
  color: var(--primary);
}

.pt-hero-lead,
.pt-cta-lead {
  font-family: var(--font-lead);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--gold-dark);
  margin: 0 0 10px;
}

.pt-hero-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-gray);
  max-width: 560px;
  margin: 0 0 26px;
}

.pt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.pt-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.pt-link:hover {
  text-decoration: underline;
}

.pt-hero-art {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(45, 33, 100, 0.18));
}

/* Numbers */
.pt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.pt-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
}

.pt-stat + .pt-stat {
  border-left: 1px solid var(--border-light);
}

.pt-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--primary);
}

.pt-stat-label {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}

/* Section scaffolding */
.pt-section {
  padding-top: 64px;
}

.pt-section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
}

.pt-section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--text-dark);
  margin: 0;
  text-wrap: balance;
}

.pt-section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 10px 0 0;
}

/* Logo wall */
.pt-wall {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.pt-wall-tier {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
}

.pt-wall-tier + .pt-wall-tier {
  border-top: 1px solid var(--border-light);
}

.pt-wall-tier-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.pt-wall-tier-sub {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-gray);
}

/* Primary partners: two featured cards above the logo wall. Warm, quiet gold —
   hairline borders and a soft glow rather than heavy bars. */
.pt-featured {
  margin-bottom: 18px;
  padding: 24px 26px 26px;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(214, 178, 94, 0.14) 0%, rgba(214, 178, 94, 0) 70%),
    #FFFDF9;
  border: 1px solid rgba(176, 134, 40, 0.26);
  box-shadow: 0 14px 36px rgba(120, 90, 20, 0.08);
}

.pt-featured-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 18px;
}

.pt-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A6A1F; /* darker Spa Ceylon gold keeps small text readable on cream */
}

.pt-featured-label svg {
  color: var(--honor);
}

.pt-featured-sub {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-gray);
}

.pt-featured-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-featured-card {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid rgba(176, 134, 40, 0.18);
  color: var(--text-dark);
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

/* Logo sits in a thin gold ring with a white gap, like a seal. */
.pt-featured-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  padding: 4px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(176, 134, 40, 0.55);
  box-shadow: 0 8px 20px rgba(120, 90, 20, 0.12);
}

.pt-featured-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.pt-featured-mark.is-square img { padding: 8px; }

.pt-featured-mark.is-text {
  font-size: 30px;
  font-weight: 800;
  color: #8A6A1F;
}

.pt-featured-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pt-featured-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.15;
  color: var(--text-dark);
}

.pt-featured-impact {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #6E5418;
}

.pt-featured-impact svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--honor);
}

.pt-wall-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 78px;
  color: var(--text-dark);
}

.pt-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Higher tiers get bigger logos. */
.pt-wall-tier.is-supporter .pt-logo-mark { width: 52px; height: 52px; }

.pt-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Wordmarks drawn on a white square sit inside the circle instead of being clipped by it. */
.pt-logo-mark.is-square img {
  padding: 7px;
}

.pt-logo-mark.is-text {
  padding: 0 6px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--gold-dark);
  background: var(--gold-subtle);
}

.pt-logo-name {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--text-gray);
}

/* Packages */
.pt-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.pt-package {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: 28px 24px 24px;
  transition: border-color .28s ease, box-shadow .28s ease;
}

.pt-package:hover {
  border-color: rgba(91, 74, 158, .28);
  box-shadow: 0 18px 42px rgba(45, 33, 100, .10);
}

.pt-package.is-featured {
  border: 2px solid var(--primary);
}

.pt-package-flag {
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 5px 10px;
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pt-package-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 16px;
}

.pt-package-people {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pt-package-people-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: var(--tracking-display);
  line-height: 0.9;
  color: var(--text-dark);
}

.pt-package-people-label {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

.pt-package-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.pt-package-price span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-gray);
}

/* The button sits below the price line, pinned to the card's foot so all three line up. */
.pt-package .btn {
  margin-top: auto;
}

.pt-package-price {
  margin-bottom: 22px;
}

.pt-btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}

.pt-btn-outline:hover {
  background: var(--gold-subtle);
}

.pt-package .btn {
  padding: 13px 16px;
  font-size: 12.5px;
}

/* Swipe position dots, shown only when the packages scroll sideways. */
.pt-swipe-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: -6px;
}

.pt-swipe-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  background: var(--gold-light);
  opacity: 0.45;
  cursor: pointer;
  transition: width .25s ease, opacity .25s ease, background .25s ease;
}

.pt-swipe-dots button.is-active {
  width: 22px;
  opacity: 1;
  background: var(--primary);
}

/* Closing ask: a centred deep-purple band. */
.pt-cta {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 64px;
  padding: 52px 32px;
  color: #ffffff;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(142, 124, 201, 0.35) 0%, rgba(142, 124, 201, 0) 60%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--gold-dark) 55%, var(--primary) 100%);
  box-shadow: 0 24px 50px rgba(46, 37, 99, 0.25);
}

.pt-cta .pt-cta-lead {
  color: #CFC5EE;
}

.pt-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 12px;
}

.pt-cta-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 26px;
  max-width: 440px;
}

.pt-btn-light {
  background: #ffffff;
  color: var(--primary-dark);
}

.pt-btn-light:hover {
  background: var(--gold-subtle);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.pt-cta-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  margin: 14px 0 0;
}

.pt-cta-note a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

/* Tablet */
@media (max-width: 860px) {
  /* Packages become a sideways swipe row; the next card peeks in so people know to swipe.
     The row runs edge to edge (cancelling the page gutter) and snaps card by card. */
  .pt-packages {
    display: flex;
    gap: 14px;
    margin: 0 -24px;
    padding: 6px 24px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pt-packages::-webkit-scrollbar {
    display: none;
  }

  .pt-package {
    flex: 0 0 min(82%, 340px);
    scroll-snap-align: start;
  }

  .pt-swipe-dots {
    display: flex;
  }

  .pt-wall-tier {
    grid-template-columns: 1fr;
    gap: 14px;
  }

}

/* Phone */
@media (max-width: 640px) {
  .pt-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0 24px;
  }

  .pt-hero-art {
    display: none;
  }

  .pt-stats {
    grid-template-columns: 1fr;
  }

  .pt-stat {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 14px 18px;
  }

  .pt-stat + .pt-stat {
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }

  .pt-stat-value {
    font-size: 22px;
    flex: 0 0 auto;
  }

  .pt-section {
    padding-top: 44px;
  }

  .pt-wall-tier {
    padding: 18px;
  }

  .pt-wall-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
    gap: 14px 6px;
  }

  .pt-logo {
    width: auto;
  }

  .pt-featured {
    padding: 18px 16px 16px;
  }

  .pt-featured-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pt-featured-card {
    gap: 16px;
    padding: 14px 16px;
  }

  .pt-featured-mark {
    width: 72px;
    height: 72px;
    padding: 3px;
  }

  .pt-featured-name {
    font-size: 18px;
  }

  .pt-logo-mark {
    width: 56px;
    height: 56px;
  }

  .pt-wall-tier.is-supporter .pt-logo-mark { width: 48px; height: 48px; }

  .pt-cta {
    padding: 36px 20px;
    margin-top: 44px;
  }
}
