/* ==========================================================================
   NRSFC 26 — PeopleHub Unified Component Styles (css/people-hub.css)
   Single data-driven system for /people and Home (#people-partners)
   ========================================================================== */

:root {
  --ph-bg: #FAF8F5;
  --ph-surface: #FFFFFF;
  --ph-surface-alt: #F6F4F0;
  --ph-border: #E8E4DD;
  --ph-border-strong: #D5CFC6;
  --ph-ink: #141414;
  --ph-ink-soft: #2D2926;
  --ph-muted: #5E5A53;
  --ph-accent: #EA381B;
  --ph-accent-dark: #B32A12;
  --ph-accent-tint: #FFF3EE;
  --ph-radius-lg: 20px;
  --ph-radius-md: 16px;
  --ph-radius-sm: 12px;
  --ph-shadow-sm: 0 2px 10px rgba(20, 20, 20, 0.04);
  --ph-shadow-hover: 0 12px 28px rgba(20, 20, 20, 0.09);
  --ph-font-head: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ph-font-body: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Home section wrapper */
#people-partners.screen,
.people-hub-home-section {
  background: var(--ph-bg) !important;
  padding: clamp(44px, 6vw, 84px) 0 !important;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.ph-root {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3vw, 32px);
  box-sizing: border-box;
  font-family: var(--ph-font-body);
  color: var(--ph-ink);
}

/* Section Header (shown inside compact mode or when data-show-header="true") */
.ph-section-head {
  text-align: left;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.ph-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ph-accent-tint);
  border: 1px solid rgba(234, 56, 27, 0.28);
  color: var(--ph-accent-dark);
  font-family: var(--ph-font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ph-section-title {
  margin: 0 0 8px;
  font-family: var(--ph-font-head);
  font-size: clamp(1.55rem, 2.55vw, 2.38rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ph-ink);
}

.ph-section-subline {
  margin: 0;
  max-width: none;
  font-size: clamp(0.94rem, 1.22vw, 1.08rem);
  line-height: 1.5;
  color: var(--ph-muted);
  font-weight: 500;
}

@media (min-width: 1120px) {
  .ph-section-title,
  .ph-section-subline {
    white-space: nowrap;
  }
}

/* ==========================================================================
   Sticky Category Chip / Tab Bar
   ========================================================================== */
.ph-sticky-bar {
  position: sticky;
  top: var(--nav-h, 70px);
  z-index: 45;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 calc(-1 * clamp(14px, 3vw, 32px)) clamp(12px, 1.8vw, 18px);
  padding: 12px clamp(14px, 3vw, 32px);
  border-top: 1px solid rgba(232, 228, 221, 0.7);
  border-bottom: 1px solid var(--ph-border);
}

.ph-root--page .ph-sticky-bar {
  background: rgba(247, 246, 245, 0.96);
}

.ph-chip-rail {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 0;
  max-width: 100%;
}

.ph-chip-rail::-webkit-scrollbar {
  display: none;
}

.ph-chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--ph-border);
  background: var(--ph-surface);
  color: var(--ph-ink-soft);
  font-family: var(--ph-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ph-chip:hover {
  border-color: var(--ph-accent);
  color: var(--ph-accent);
}

.ph-chip:focus-visible {
  outline: 2px solid var(--ph-accent);
  outline-offset: 2px;
}

.ph-chip[aria-selected="true"] {
  background: var(--ph-ink);
  border-color: var(--ph-ink);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(20, 20, 20, 0.16);
}

.ph-chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ph-surface-alt);
  color: var(--ph-muted);
  font-size: 0.73rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ph-chip[aria-selected="true"] .ph-chip-count {
  background: var(--ph-accent);
  color: #FFFFFF;
}

/* Sub-group filter chip row underneath Mentors common intro */
.ph-subchip-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(18px, 2.2vw, 24px);
  padding: 2px 0;
  max-width: 100%;
}

@media (max-width: 767px) {
  .ph-subchip-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
}

.ph-subchip-rail::-webkit-scrollbar {
  display: none;
}

.ph-subchip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ph-border);
  background: var(--ph-surface);
  color: var(--ph-ink-soft);
  font-family: var(--ph-font-body);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.ph-subchip:hover {
  border-color: var(--ph-accent);
  color: var(--ph-ink);
}

.ph-subchip:focus-visible {
  outline: 2px solid var(--ph-accent);
  outline-offset: 2px;
}

.ph-subchip[aria-selected="true"] {
  background: var(--ph-accent-tint);
  border-color: var(--ph-accent);
  color: var(--ph-accent-dark);
}

.ph-subchip-count {
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Category Sections (Stacked in "All", Single in Category View)
   ========================================================================== */
.ph-categories-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vw, 52px);
}

.ph-category-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.ph-cat-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ph-cat-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ph-cat-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 260px;
}

.ph-cat-kicker {
  font-family: var(--ph-font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ph-accent);
}

.ph-cat-heading {
  margin: 0;
  font-family: var(--ph-font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ph-ink);
}

.ph-mentors-note {
  margin: 2px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ph-muted);
  font-weight: 500;
}

.ph-cat-tagline {
  margin: 2px 0 0;
  font-family: var(--ph-font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ph-accent-dark);
}

.ph-cat-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1080px;
  margin-top: 6px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.86);
  border-left: 4px solid var(--ph-accent);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.04);
}

.ph-cat-intro p {
  margin: 0;
  font-size: clamp(1.06rem, 1.48vw, 1.22rem);
  font-weight: 600;
  line-height: 1.56;
  color: #1C1917;
}

.ph-cat-intro strong {
  font-weight: 800;
  color: #111111;
}

.ph-cat-intro p.ph-cat-intro-highlight {
  font-family: var(--ph-font-head);
  font-size: clamp(1.12rem, 1.62vw, 1.32rem);
  font-weight: 800;
  line-height: 1.38;
  color: var(--ph-accent-dark);
}

.ph-cat-intro p.ph-cat-intro-highlight strong {
  color: inherit;
}

/* Row Controls (Desktop Arrows + View All link) */
.ph-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ph-arrow-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ph-row-arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 2.5px solid #C62B12;
  background: #EA381B;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(234, 56, 27, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
}

.ph-row-arrow svg {
  width: 21px;
  height: 21px;
  stroke-width: 3.1;
  flex-shrink: 0;
}

.ph-row-arrow:hover:not(:disabled) {
  background: #141414;
  border-color: #141414;
  color: #FFFFFF;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.28);
}

.ph-row-arrow:disabled {
  opacity: 1;
  background: #EDEAE2;
  border-color: #B5AEA0;
  color: #5C564C;
  box-shadow: none;
  cursor: not-allowed;
}

.ph-row-arrow:focus-visible {
  outline: 2px solid var(--ph-accent);
  outline-offset: 2px;
}

.ph-view-all-link {
  appearance: none;
  background: none;
  border: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ph-surface);
  border: 1.5px solid var(--ph-border);
  color: var(--ph-ink);
  font-family: var(--ph-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.ph-view-all-link:hover {
  border-color: var(--ph-accent);
  color: var(--ph-accent);
  background: var(--ph-accent-tint);
}

@media (max-width: 767px) {
  .ph-arrow-group {
    display: none;
  }
}

/* ==========================================================================
   1. Horizontal Scroll-Snap Carousel Row ("All" View)
   ========================================================================== */
.ph-carousel-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.ph-row-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 18px) / 4);
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 2px 10px;
  margin: 0;
  list-style: none;
}

.ph-row-track::-webkit-scrollbar {
  display: none;
}

/* Organisers have detailed institutional copy; 3 columns on desktop row fits 3 cleanly and still scrolls if more are added */
.ph-row-track--organisers {
  grid-auto-columns: calc((100% - 2 * 20px) / 3);
  gap: 20px;
}

@media (max-width: 1023px) {
  .ph-row-track,
  .ph-row-track--organisers {
    grid-auto-columns: calc((100% - 2 * 14px) / 3);
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .ph-row-track {
    grid-auto-columns: min(68vw, 236px);
    gap: 12px;
  }
  .ph-row-track--organisers {
    grid-auto-columns: min(82vw, 300px);
    gap: 12px;
  }
}

/* ==========================================================================
   2. Responsive Grid (Single-Category View: 4 desktop / 3 tablet / 2 mobile)
   ========================================================================== */
.ph-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  width: 100%;
  box-sizing: border-box;
}

.ph-grid--organisers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
  .ph-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .ph-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .ph-grid--organisers {
    grid-template-columns: 1fr;
  }
}

/* Mentors Sub-group Divider Heading when viewing "All" inside Mentors tab */
.ph-mentor-group-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ph-mentor-group-section + .ph-mentor-group-section {
  margin-top: 28px;
}

.ph-mentor-group-heading {
  margin: 0;
  font-family: var(--ph-font-head);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 800;
  color: var(--ph-ink);
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ph-border);
}

/* ==========================================================================
   Cards & Fixed Aspect-Ratio Media Frames
   ========================================================================== */
.ph-card {
  scroll-snap-align: start;
  background: var(--ph-surface);
  border: 1.5px solid var(--ph-border);
  border-radius: var(--ph-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  box-shadow: var(--ph-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ph-card:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 56, 27, 0.45);
  box-shadow: var(--ph-shadow-hover);
}

/* Media Frames: 4:5 for People, 3:2 contain for Organisations/Partners */
.ph-media {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ph-surface-alt);
}

.ph-media--person {
  aspect-ratio: 4 / 5;
}

.ph-media--logo {
  aspect-ratio: 3 / 2;
  background: #FFFFFF;
  border-bottom: 1px solid var(--ph-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 1.4vw, 16px);
  box-sizing: border-box;
}

.hero-org-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  display: block;
}

.ph-media--person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
}

.ph-media--logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Fallback 1: Clean Initials Avatar for People without Photos */
.ph-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(155deg, #FAF8F5 0%, #EFEAE2 100%);
  border-bottom: 1px solid var(--ph-border);
  padding: 16px;
  box-sizing: border-box;
  user-select: none;
}

.ph-avatar-monogram {
  width: clamp(54px, 7vw, 76px);
  height: clamp(54px, 7vw, 76px);
  border-radius: 50%;
  background: #1D1A18;
  color: #FFFFFF;
  border: 2px solid rgba(234, 56, 27, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ph-font-head);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.12);
}

/* Group card tile (e.g., "Editors" in Team) */
.ph-avatar-fallback--group {
  background: linear-gradient(155deg, #1E1917 0%, #2C2420 100%);
  color: #FFFFFF;
}

.ph-group-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.ph-group-emblem svg {
  color: var(--ph-accent);
}

.ph-group-emblem-label {
  font-family: var(--ph-font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* Fallback 2: Clean Name Tile for Organisations without Logo */
.ph-org-tile {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(145deg, #FAF8F5 0%, #F2ECE4 100%);
  border: 1px solid var(--ph-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
  gap: 6px;
}

.ph-org-tile-abbr {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ph-accent-tint);
  border: 1px solid rgba(234, 56, 27, 0.3);
  color: var(--ph-accent-dark);
  font-family: var(--ph-font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-org-tile-name {
  font-family: var(--ph-font-head);
  font-size: clamp(0.78rem, 1.1vw, 0.94rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ph-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Body */
.ph-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.ph-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--ph-font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ph-accent-dark);
  background: var(--ph-accent-tint);
  padding: 3px 9px;
  border-radius: 999px;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.ph-card-tagline {
  margin: 0;
  font-family: var(--ph-font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ph-accent);
  line-height: 1.35;
}

.ph-card-name {
  margin: 0;
  font-family: var(--ph-font-head);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ph-ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ph-card-role {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ph-muted);
  overflow-wrap: anywhere;
}

.ph-card-quote,
.ph-card-desc {
  margin: 4px 0 0;
  font-size: 0.83rem;
  line-height: 1.52;
  color: var(--ph-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.ph-card-quote {
  font-style: italic;
  padding-left: 10px;
  border-left: 2.5px solid rgba(234, 56, 27, 0.55);
}

.ph-card-desc--oneline {
  font-style: normal;
  -webkit-line-clamp: 2;
  color: var(--ph-muted);
}

.ph-card-footer {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.ph-read-more-btn {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  color: var(--ph-accent-dark);
  font-family: var(--ph-font-head);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ph-read-more-btn:hover {
  color: var(--ph-accent);
}

.ph-card-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ph-font-head);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ph-ink);
  text-decoration: none;
}

.ph-card-ext-link:hover {
  color: var(--ph-accent);
}

/* Creator Ambassador Extra CTA Card (when Creators < 3) */
.ph-card--cta {
  background: linear-gradient(155deg, #1A1614 0%, #2B201C 100%);
  border-color: rgba(234, 56, 27, 0.45);
  color: #FFFFFF;
  text-decoration: none;
  justify-content: space-between;
  padding: clamp(18px, 2.5vw, 26px);
  min-height: 260px;
}

.ph-card--cta:hover {
  border-color: var(--ph-accent);
  transform: translateY(-2px);
}

.ph-cta-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(234, 56, 27, 0.22);
  border: 1px solid rgba(234, 56, 27, 0.55);
  color: #FF8C73;
  font-family: var(--ph-font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-cta-text {
  margin: 16px 0;
  font-family: var(--ph-font-head);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
}

.ph-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ph-accent);
  color: #FFFFFF;
  font-family: var(--ph-font-head);
  font-size: 0.8rem;
  font-weight: 800;
}

/* Mobile 360px Tightening for 2-Column Grid */
@media (max-width: 639px) {
  .ph-card {
    border-radius: 14px;
  }
  .ph-card-body {
    padding: 10px 10px 12px;
    gap: 4px;
  }
  .ph-card-badge {
    font-size: 0.58rem;
    padding: 2px 7px;
  }
  .ph-card-tagline {
    font-size: 0.66rem;
  }
  .ph-card-name {
    font-size: 0.86rem;
    line-height: 1.24;
  }
  .ph-card-role {
    font-size: 0.72rem;
    line-height: 1.32;
  }
  .ph-card-quote,
  .ph-card-desc {
    font-size: 0.74rem;
    line-height: 1.44;
  }
  .ph-card-quote {
    padding-left: 7px;
  }
  .ph-read-more-btn,
  .ph-card-ext-link {
    font-size: 0.72rem;
  }
  .ph-card--cta {
    padding: 14px 12px;
    min-height: 210px;
  }
  .ph-cta-text {
    font-size: 0.88rem;
    margin: 10px 0;
  }
  .ph-cta-pill {
    padding: 7px 11px;
    font-size: 0.72rem;
  }
}

/* Compact Mode Footer Link when a single category is previewed on Home */
.ph-compact-more-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.ph-compact-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ph-ink);
  color: #FFFFFF !important;
  font-family: var(--ph-font-head);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.ph-compact-more-btn:hover {
  background: var(--ph-accent);
  transform: translateY(-1px);
}

/* ==========================================================================
   Full Card Modal ("Read more")
   ========================================================================== */
.ph-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(16, 14, 14, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.ph-modal-backdrop[hidden] {
  display: none !important;
}

.ph-modal-dialog {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1.5px solid var(--ph-border);
  max-width: 640px;
  width: 100%;
  max-height: min(88vh, 760px);
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  position: relative;
  padding: clamp(20px, 3.5vw, 32px);
  box-sizing: border-box;
}

.ph-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ph-border);
  background: var(--ph-surface-alt);
  color: var(--ph-ink);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ph-modal-close:hover {
  background: var(--ph-ink);
  color: #FFFFFF;
}

.ph-modal-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding-right: 40px;
}

.ph-modal-thumb {
  width: 88px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--ph-border);
  background: var(--ph-surface-alt);
}

.ph-modal-thumb--logo {
  width: 112px;
  height: 76px;
  background: #FFFFFF;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ph-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.ph-modal-thumb--logo img {
  object-fit: contain;
}

.ph-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ph-modal-name {
  margin: 0;
  font-family: var(--ph-font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--ph-ink);
}

.ph-modal-role {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ph-muted);
  line-height: 1.4;
}

.ph-modal-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ph-border);
}

.ph-modal-text p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--ph-ink-soft);
}

.ph-modal-text--quote p {
  font-style: italic;
  padding-left: 14px;
  border-left: 3px solid var(--ph-accent);
}

@media (max-width: 520px) {
  .ph-modal-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   /people Page Hero
   ========================================================================== */
.people-page-body {
  background: #F7F6F5;
  margin: 0;
  overflow-x: hidden;
}

.people-page-hero {
  background: linear-gradient(135deg, #3D0E08 0%, #A92111 48%, #D9381E 100%) !important;
  padding: clamp(86px, 8vw, 102px) 24px clamp(22px, 2.8vw, 30px);
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.people-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.1), transparent 68%);
  pointer-events: none;
}

.people-page-hero__inner {
  max-width: 1380px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.people-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #FFFFFF;
  font-family: var(--ph-font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.people-page-hero__title {
  margin: 0 auto 8px;
  font-family: var(--ph-font-head);
  font-size: clamp(1.6rem, 2.55vw, 2.42rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.people-page-hero__subline {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(0.92rem, 1.2vw, 1.06rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}

@media (min-width: 1120px) {
  .people-page-hero__title,
  .people-page-hero__subline {
    white-space: nowrap;
  }
}

.people-page-main {
  padding: 0 0 clamp(56px, 7vw, 88px);
}

