/* =============================================
   SOLVERSTOP — Homepage Styles
   Extracted from index.html inline <style>
   ============================================= */

    body { padding-top: 70px; }

    /* Hover-gold letters utility */
    .hover-letters { cursor: default; }
    .hover-letters span {
      display: inline-block;
      transition: color 0.25s ease, transform 0.25s ease;
    }
    .hover-letters span:hover {
      color: var(--gold);
      transform: translateY(-2px);
    }

    /* =============================================
       SCROLL-SNAP — section-by-section scrolling
       ============================================= */
    html {
      scroll-snap-type: y proximity;
      scroll-padding-top: 70px;
    }
    .snap-section {
      scroll-snap-align: start;
      min-height: calc(100vh - 70px);
      display: flex;
      align-items: center;
      width: 100%;
    }
    .snap-section > .container { width: 100%; }

    /* =============================================
       SECTION 0 — SUPERHERO
       ============================================= */
    .superhero {
      background: var(--white);
      text-align: center;
      padding: 80px 0 0;
    }
    .superhero > .container { width: 100%; }

    /* --- Part 1: Text --- */
    .superhero-text-part {
      max-width: 1060px;
      margin: 0 auto 60px;
    }
    .superhero h1 {
      color: var(--black);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 32px;
    }
    .superhero p {
      color: var(--black);
      font-size: 1.32rem;
      line-height: 1.8;
      text-align: center;
    }
    /* Individual letter hover effect */
    .hover-letter {
      transition: color 0.15s ease;
      cursor: default;
    }
    .hover-letter:hover {
      color: var(--gold);
    }
    /* Whole-word hover effect (paragraph) */
    .hover-word {
      transition: color 0.15s ease;
      cursor: default;
    }
    .hover-word:hover {
      color: var(--gold);
    }
    /* SolverStop logo-color hover */
    .hover-brand {
      cursor: default;
      transition: color 0.15s ease;
    }
    .hover-brand:hover .brand-solver {
      color: var(--black);
      font-weight: 800;
    }
    .hover-brand:hover .brand-stop {
      color: var(--blue);
      font-weight: 800;
    }

    /* --- Part 2: Portrait Card Slideshow ---
       Cards are absolutely positioned by JS (inline styles for transform, opacity, z-index).
       CSS handles visual states: hover effects, expanded card layout, side card behavior.
       The .expanded class is added/removed by JS — CSS sizes/styles the expanded card.
       .card-pos-side / .card-pos-main classes toggle behavioral rules (hide button on side cards, etc).
       .carousel-active class suppresses CSS transitions during drag/animation. --- */
    .superhero-cards {
      position: relative;
      height: clamp(380px, 30vw, 460px);
      overflow: hidden;
      user-select: none;
      transition: height 0.4s ease;
    }
    /* When a card is expanded, grow container so nothing gets clipped */
    .superhero-cards.has-expanded {
      height: 550px;
    }

    /* Single portrait card — absolutely positioned by JS */
    .portrait-card-wrap {
      position: absolute;
      top: 50%;
      left: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      will-change: transform, opacity;
    }
    /* Smooth top transition only when carousel is idle (not dragging/animating) */
    .superhero-cards:not(.carousel-active) .portrait-card-wrap {
      transition: top 0.4s ease;
    }

    /* Side cards — behavioral styling (position/size/opacity set by JS) */
    .portrait-card-wrap.card-pos-side .portrait-card {
      cursor: pointer;
    }
    .portrait-card-wrap.card-pos-side:hover .portrait-card {
      transform: scale(1.05);
    }
    .portrait-card-wrap.card-pos-side .portrait-card-btn,
    .portrait-card-wrap.card-pos-side .portrait-card-line {
      display: none;
    }
    .portrait-card-wrap.card-pos-side:hover .portrait-card-heading {
      opacity: 0;
    }
    .portrait-card-wrap.card-pos-side .portrait-card.expanded {
      width: 110px;
      height: 180px;
    }
    .portrait-card-wrap.card-pos-side .portrait-card.expanded .portrait-card-overlay {
      opacity: 0;
      pointer-events: none;
    }

    .portrait-card {
      position: relative;
      width: 220px;
      height: 360px;
      border-radius: 0;
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow 0.35s ease, transform 0.35s ease;
    }
    /* Smooth expand/collapse when carousel is idle */
    .superhero-cards:not(.carousel-active) .portrait-card {
      transition: width 0.4s ease, height 0.4s ease, box-shadow 0.35s ease, transform 0.35s ease;
    }
    .portrait-card-wrap:hover .portrait-card {
      box-shadow: var(--shadow-lg);
      transform: scale(1.10);
    }

    /* "Click to open" button centered inside card */
    .portrait-card-btn {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      padding: 8px 18px;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      color: rgba(255, 255, 255, 0.85);
      background: transparent;
      border: 1.5px solid rgba(255, 255, 255, 0.6);
      border-radius: var(--radius);
      cursor: pointer;
      pointer-events: none;
      transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
      white-space: nowrap;
      font-family: var(--font);
      line-height: 1.3;
      z-index: 5;
    }
    .portrait-card-line {
      margin-top: 14px;
      width: 60%;
      height: 3px;
      background: var(--gold);
      border-radius: 2px;
      opacity: 0;
      transition: opacity 0.35s ease, width 0.35s ease;
      pointer-events: none;
    }
    .portrait-card-wrap:hover .portrait-card-btn {
      color: var(--gold);
      border-color: var(--gold);
      background: rgba(0, 0, 0, 0.55);
      pointer-events: auto;
    }
    .portrait-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
    }

    /* Overlay content (hidden by default) */
    .portrait-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      pointer-events: none;
      z-index: 2;
      transition: opacity 0.35s ease;
    }
    .portrait-card-heading {
      background: var(--black);
      color: var(--white);
      padding: 20px 22px;
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.35;
      text-align: left;
      opacity: 0;
      transition: opacity 0.35s ease;
      flex-shrink: 0;
    }
    /* Show heading on hover */
    .portrait-card-wrap:hover .portrait-card-heading {
      opacity: 1;
    }
    .portrait-card-body {
      background: rgba(245, 245, 245, 0.92);
      color: var(--black);
      padding: 18px 20px;
      font-size: 0.88rem;
      line-height: 1.7;
      text-align: left;
      border-radius: 0 0 8px 8px;
      margin: 0 10px;
      opacity: 0;
      transition: opacity 0.35s ease;
    }

    /* Expanded state */
    .portrait-card.expanded {
      width: 380px;
      height: 520px;
      box-shadow: var(--shadow-lg);
      transform: none;
      overflow: visible;
    }
    .portrait-card-wrap:has(.portrait-card.expanded) {
      z-index: 50;
    }
    .portrait-card.expanded .portrait-card-overlay {
      pointer-events: auto;
      z-index: 10;
      height: 100%;
      background: linear-gradient(to bottom, var(--black) 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.7) 100%);
      border-radius: 0;
    }
    .portrait-card.expanded .portrait-card-heading {
      opacity: 1;
      font-size: 1.1rem;
      padding: 24px 24px 16px;
      background: var(--black);
    }
    .portrait-card.expanded .portrait-card-body {
      opacity: 1;
      max-height: none;
      flex: 1;
      overflow-y: auto;
      background: transparent;
      color: rgba(255,255,255,0.88);
      margin: 0;
      padding: 14px 24px 24px;
      border-radius: 0;
      font-size: 0.86rem;
      line-height: 1.7;
    }
    /* Disable scale when card is expanded; arrow becomes line */
    .portrait-card-wrap:has(.portrait-card.expanded):hover .portrait-card {
      transform: none;
    }
    .portrait-card.expanded .portrait-card-btn {
      opacity: 0;
      pointer-events: none;
    }
    .portrait-card-wrap:has(.portrait-card.expanded) .portrait-card-line {
      opacity: 1;
      width: 80%;
    }

    /* Carousel control buttons — always below the card deck */
    .superhero-controls {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 16px;
      padding-bottom: 30px;
      position: relative;
      z-index: 60;
    }
    .superhero-ctrl {
      width: 54px;
      height: 30px;
      border-radius: 0;
      border: 1.5px solid #ddd;
      background: var(--white);
      color: var(--black);
      font-size: 1.1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
      font-family: var(--font);
    }
    .superhero-ctrl:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--black);
    }

    /* Responsive — expanded sizes (normal sizes set by JS) */
    @media (max-width: 900px) {
      .superhero-cards { height: clamp(340px, 40vw, 380px); }
      .superhero-cards.has-expanded { height: 490px; }
      .portrait-card.expanded { width: 320px; height: 460px; }
      .portrait-card.expanded .portrait-card-heading { font-size: 1rem; padding: 20px 20px 12px; }
      .portrait-card.expanded .portrait-card-body { padding: 0 20px 20px; font-size: 0.84rem; }
    }
    @media (max-width: 600px) {
      .superhero-cards { height: clamp(320px, 55vw, 380px); }
      .superhero-cards.has-expanded { height: 470px; }
      .portrait-card.expanded { width: 280px; height: 440px; }
      .portrait-card.expanded .portrait-card-heading { font-size: 0.92rem; padding: 16px 16px 10px; }
      .portrait-card.expanded .portrait-card-body { padding: 0 16px 16px; font-size: 0.82rem; }
    }

    /* =============================================
       SECTION 2 — HOW WE SUPPORT ORGANISATIONS
       ============================================= */
    .services-section {
      background: var(--grey-light);
      padding: 80px 0;
    }
    .services-layout {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    /* --- Section intro --- */
    .services-intro {
      margin-bottom: 40px;
      text-align: center;
    }
    .services-intro h2 {
      font-size: clamp(1.5rem, 2.5vw, 1.8rem);
      font-weight: 800;
      color: var(--black);
      line-height: 1.3;
      margin-bottom: 20px;
    }
    .services-intro p {
      color: var(--grey-text);
      font-size: 0.96rem;
      line-height: 1.8;
      max-width: 720px;
      margin: 0 auto;
    }

    /* --- Grid: sidebar + card --- */
    .services-split {
      display: grid;
      grid-template-columns: minmax(280px, 360px) 1fr;
      gap: 0;
      align-items: stretch;
    }

    /* Tools & Technologies strip inside section 2 */
    .services-tools {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
      padding: 48px 0 0;
    }
    .tools-header {
      text-align: center;
    }
    .tools-subtitle {
      font-size: 0.96rem;
      color: var(--grey-text);
      margin-top: 6px;
    }
    .tools-marquee {
      width: 100%;
      overflow: hidden;
      mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
      -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    .tools-marquee-track {
      display: flex;
      align-items: center;
      gap: 48px;
      width: max-content;
      animation: tools-scroll 45s linear infinite;
    }
    .tools-marquee:hover .tools-marquee-track {
      animation-play-state: paused;
    }
    @keyframes tools-scroll {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .tool-tag {
      flex-shrink: 0;
      padding: 10px 24px;
      font-size: 0.935rem;
      font-weight: 600;
      color: var(--black);
      background: var(--white);
      border: 1px solid rgba(0,0,0,0.1);
      letter-spacing: 0.02em;
      white-space: nowrap;
      transition: border-color 0.3s ease, color 0.3s ease;
      cursor: default;
    }
    .tool-tag:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--black);
    }

    /* --- Left: numbered sidebar --- */
    .services-left {
      display: flex;
      flex-direction: column;
      background: var(--black);
    }
    .sol-sidebar-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 14px 24px;
      cursor: pointer;
      position: relative;
      border-left: 3px solid transparent;
      transition: background 0.25s ease, border-color 0.25s ease;
    }
    .sol-sidebar-item:hover {
      background: rgba(255,255,255,0.06);
      border-left-color: var(--gold);
    }
    .sol-sidebar-item.active {
      background: rgba(255,255,255,0.08);
      border-left-color: var(--gold);
    }
    .sol-num {
      font-size: 0.78rem;
      font-weight: 700;
      color: rgba(255,255,255,0.35);
      font-variant-numeric: tabular-nums;
      flex-shrink: 0;
      width: 22px;
      transition: color 0.25s ease;
    }
    .sol-sidebar-item:hover .sol-num {
      color: var(--gold);
    }
    .sol-sidebar-item.active .sol-num {
      color: var(--gold);
    }
    .sol-label {
      font-size: 0.88rem;
      font-weight: 500;
      color: rgba(255,255,255,0.7);
      line-height: 1.35;
      transition: color 0.25s ease;
    }
    .sol-sidebar-item:hover .sol-label {
      color: var(--gold);
    }
    .sol-sidebar-item.active .sol-label {
      color: var(--white);
      font-weight: 600;
    }

    /* --- Right: solution display card --- */
    .services-right {
      position: relative;
      min-height: 520px;
      overflow: hidden;
      background: var(--black);
    }
    .solution-display {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }
    .solution-display.active {
      opacity: 1;
      pointer-events: auto;
    }
    .solution-display-img {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      z-index: 1;
    }
    .solution-display-content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      height: 100%;
      background: linear-gradient(to bottom, var(--black) 0%, rgba(0,0,0,0.88) 30%, rgba(0,0,0,0.72) 100%);
    }
    .solution-display-heading {
      background: var(--black);
      color: var(--white);
      padding: 28px 32px 16px;
      font-size: 1.1rem;
      font-weight: 700;
      line-height: 1.35;
      flex-shrink: 0;
    }
    .solution-display-heading .hover-letter {
      color: var(--white);
      transition: color 0.15s ease;
      cursor: default;
    }
    .solution-display-heading .hover-letter:hover {
      color: var(--gold);
    }
    .solution-display-body {
      background: transparent;
      color: rgba(255,255,255,0.88);
      padding: 0 32px 24px;
      font-size: 0.88rem;
      line-height: 1.75;
      flex: 1;
      overflow-y: auto;
    }
    .solution-display-link {
      margin-top: auto;
      padding: 20px 32px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--gold);
      text-decoration: none;
      transition: gap 0.3s ease, background 0.3s ease, color 0.3s ease;
      flex-shrink: 0;
    }
    .solution-display-link:hover {
      gap: 12px;
      background: var(--gold);
      color: var(--black);
    }

    /* Responsive for section 2 */
    @media (max-width: 900px) {
      .services-split {
        grid-template-columns: 1fr;
      }
      .services-left {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;            /* Firefox */
      }
      .services-left::-webkit-scrollbar {
        display: none;                    /* Chrome/Safari */
      }
      .sol-sidebar-item {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 10px 14px;
        flex: 0 0 auto;
      }
      .sol-sidebar-item:hover {
        border-bottom-color: var(--gold);
        border-left-color: transparent;
      }
      .sol-sidebar-item.active {
        border-bottom-color: var(--gold);
        border-left-color: transparent;
      }
      .sol-num { display: none; }
      .sol-label { font-size: 0.8rem; }
      .services-right {
        min-height: 420px;
      }
    }

    /* =============================================
       SECTION 3 — PARTNERSHIPS & CLIENTS
       ============================================= */
    .partnerships-section {
      background: var(--grey-light);
      padding: 64px 0;
      scroll-snap-align: start;
      height: calc(100vh - 70px);
      display: flex;
      flex-direction: column;
      justify-content: center;
      box-sizing: border-box;
    }
    /* Part 1 — header + slideshow */
    .partnerships-top {
      display: flex;
      align-items: center;
    }
    .partnerships-header {
      text-align: center;
      margin-bottom: 36px;
    }
    .partnerships-header .section-label {
      display: inline-block;
      margin-bottom: 10px;
      color: var(--blue);
    }
    .partnerships-header h2 {
      font-size: clamp(1.5rem, 2.5vw, 1.8rem);
      font-weight: 800;
      color: var(--black);
      line-height: 1.3;
      margin: 0;
    }

    /* --- Slideshow layout --- */
    .p-slideshow {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
      width: 100%;
    }

    /* ---- Single image frame ---- */
    .p-slide-frame {
      position: relative;
      width: 100%;
      height: 360px;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0,0,0,0.15);
      cursor: pointer;
    }
    .p-frame-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      opacity: 0;
      transform: scale(1.08);
      transition: opacity 1s ease;
      will-change: opacity, transform;
    }
    .p-frame-img.active {
      opacity: 1;
      z-index: 1;
      /* Ken Burns: slow zoom over 6s */
      animation: kenBurns 6s ease-in-out forwards;
    }
    @keyframes kenBurns {
      0%   { transform: scale(1.08); }
      100% { transform: scale(1.0); }
    }
    /* Subtle gradient overlay at bottom */
    .p-frame-overlay {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 80px;
      background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 100%);
      z-index: 2;
      pointer-events: none;
    }
    /* Gold accent top bar */
    .p-slide-frame::after {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: var(--gold);
      z-index: 3;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s ease;
    }
    .p-slide-frame:hover::after { transform: scaleX(1); }

    /* ---- Text content ---- */
    .p-slide-content {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .p-slide-text {
      display: none;
    }
    .p-slide-text.active { display: block; }
    /* Staggered entrance — each child animates in sequence */
    .p-slide-text.active .p-slide-num {
      animation: pSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0s both;
    }
    .p-slide-text.active .p-slide-title {
      animation: pSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    }
    .p-slide-text.active p {
      animation: pSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }
    .p-slide-text.active .p-slide-counter {
      animation: pSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }
    @keyframes pSlideIn {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .p-slide-num {
      font-size: 3rem;
      font-weight: 800;
      color: var(--blue);
      opacity: 0.08;
      line-height: 1;
      margin-bottom: 8px;
    }
    .p-slide-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--black);
      margin: 0 0 14px;
      position: relative;
      padding-left: 16px;
    }
    .p-slide-title::before {
      content: '';
      position: absolute;
      left: 0; top: 2px; bottom: 2px;
      width: 3px;
      background: var(--gold);
      border-radius: 2px;
    }
    .p-slide-text p {
      color: var(--grey-text);
      font-size: 0.94rem;
      line-height: 1.8;
      margin: 0;
    }
    /* Slide counter */
    .p-slide-counter {
      font-size: 0.78rem;
      font-weight: 700;
      color: rgba(0,0,0,0.3);
      letter-spacing: 0.1em;
      margin-top: 20px;
    }
    .p-slide-counter .p-counter-current {
      color: var(--blue);
      font-weight: 800;
    }

    /* Circular progress nav — pinned inside frame */
    .p-slide-nav {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 3;
      display: flex;
      gap: 12px;
    }
    .p-nav-dot {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: none;
      background: transparent;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 0;
      transition: transform 0.2s ease;
    }
    .p-nav-dot:hover { transform: scale(1.1); }
    .p-dot-ring {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      transform: rotate(-90deg);
    }
    .p-dot-track {
      fill: none;
      stroke: rgba(255,255,255,0.3);
      stroke-width: 2;
    }
    .p-dot-progress {
      fill: none;
      stroke: var(--gold);
      stroke-width: 2.5;
      stroke-dasharray: 100.53;
      stroke-dashoffset: 100.53;
      stroke-linecap: round;
      transition: stroke-dashoffset 0.3s ease;
    }
    .p-nav-dot.active .p-dot-progress {
      /* offset animated by JS for timer, but default to full */
      stroke-dashoffset: 0;
    }
    .p-dot-num {
      font-size: 0.7rem;
      font-weight: 800;
      color: rgba(255,255,255,0.7);
      position: relative;
      z-index: 1;
      transition: color 0.3s ease;
    }
    .p-nav-dot.active .p-dot-num { color: #fff; }
    .p-nav-dot:hover .p-dot-num { color: #fff; }

    /* Prev/Next arrows on frame */
    .p-slide-arrows {
      position: absolute;
      bottom: 16px;
      right: 16px;
      z-index: 4;
      display: flex;
      gap: 6px;
    }
    .p-slide-arrow {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1.5px solid rgba(255,255,255,0.5);
      background: rgba(0,0,0,0.3);
      backdrop-filter: blur(6px);
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      padding: 0;
    }
    .p-slide-arrow:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--black);
    }
    .p-slide-arrow svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Linear progress bar below frame */
    .p-progress-bar {
      width: 100%;
      height: 3px;
      background: var(--grey-border);
      border-radius: 2px;
      margin-top: 12px;
      overflow: hidden;
    }
    .p-progress-fill {
      height: 100%;
      background: var(--gold);
      border-radius: 2px;
      width: 0%;
      transition: none;
    }

    /* CTA button */
    .partnerships-explore-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 24px;
      background: var(--blue);
      color: #fff;
      font-size: 0.85rem;
      font-weight: 700;
      border-radius: var(--radius);
      text-decoration: none;
      letter-spacing: 0.02em;
      transition: opacity 0.2s ease, transform 0.2s ease;
      width: fit-content;
    }
    .partnerships-explore-btn:hover {
      opacity: 0.88;
      transform: translateX(3px);
    }
    .partnerships-explore-btn svg {
      transition: transform 0.2s ease;
    }
    .partnerships-explore-btn:hover svg {
      transform: translateX(3px);
    }
    /* Gold accent divider */
    .partnerships-divider {
      width: 60px;
      height: 3px;
      background: var(--gold);
      margin: 40px auto;
    }
    /* Part 2 — logos + CTA — fully centered */
    .partnerships-bottom {
      width: 100%;
      text-align: center;
    }
    .partnerships-bottom .partnerships-logos-label {
      display: block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--blue);
      margin: 0 0 22px;
    }
    .partnerships-bottom .partner-logos-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
      width: 100%;
      max-width: 100%;
      padding: 0;
      margin: 0;
    }
    .partnerships-bottom .partners-footer-row {
      margin-top: 28px;
    }
    @media (max-width: 900px) {
      .partnerships-section { height: auto; min-height: calc(100vh - 70px); }
      .partnerships-top { flex: none; padding: 40px 0; }
      .p-slideshow { grid-template-columns: 1fr; gap: 32px; }
      .p-slide-frame { height: 240px; }
      .p-slide-content { align-items: center; text-align: center; }
      .p-slide-title { padding-left: 0; text-align: center; }
      .p-slide-title::before { display: none; }
      .p-slide-arrows { bottom: 12px; right: 12px; }
      .p-slide-arrow { width: 44px; height: 44px; }
      .partnerships-bottom { padding: 0 24px 32px; }
      .partnerships-bottom .partner-logos-row { gap: 36px; }
    }

    /* =============================================
       SECTION 4 — HOW CAN SOLVERSTOP HELP YOU
       ============================================= */
    .help-section {
      background: var(--white);
      padding: 0;
      flex-direction: column;
      justify-content: stretch;
    }
    .help-section > .container {
      width: 100%;
      flex: 4;
      display: flex;
      align-items: center;
    }
    .help-section > .help-cta {
      width: 100%;
      flex: 2;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .help-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: stretch;
      width: 100%;
    }
    .help-img {
      overflow: hidden;
      position: relative;
    }
    .help-img img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .help-content {
      text-align: left;
    }
    .help-content h2 {
      font-size: clamp(1.5rem, 2.5vw, 1.8rem);
      font-weight: 800;
      color: var(--black);
      line-height: 1.3;
      margin-bottom: 32px;
    }
    .help-content p {
      color: var(--grey-text);
      font-size: 0.96rem;
      line-height: 1.8;
      margin-bottom: 24px;
    }
    .help-content .contact-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 32px;
      margin-top: 12px;
      font-size: 0.9rem;
      font-weight: 700;
      font-family: var(--font);
      color: var(--white);
      background: var(--blue);
      border: 1.5px solid var(--blue);
      border-radius: 0;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    }
    .help-content .contact-btn:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--black);
    }
    /* CTA strip integrated into section 3 */
    .help-cta {
      background: var(--blue);
      padding: 24px 0;
      text-align: center;
      margin-top: 0;
    }
    .help-cta h2 {
      font-size: clamp(1.3rem, 2.2vw, 1.6rem);
      font-weight: 800;
      color: var(--white);
      line-height: 1.4;
      margin-bottom: 14px;
    }
    .help-cta p {
      color: var(--white);
      font-size: 1rem;
      opacity: 0.9;
      margin-bottom: 28px;
      text-align: center;
    }
    /* text-align already set in .help-cta above */
    .help-cta .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 32px;
      font-size: 0.9rem;
      font-weight: 700;
      font-family: var(--font);
      color: var(--white);
      background: transparent;
      border: 1.5px solid var(--white);
      border-radius: 0;
      cursor: pointer;
      text-decoration: none;
      transition: border-color 0.3s ease, color 0.3s ease;
    }
    .help-cta .cta-btn:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--black);
    }
    /* (orphaned .pillar-body styles removed — About Us section no longer exists) */

    /* Partner logos row */
    /* Marquee logo scroller */
    .partner-logos-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 64px;
      flex-wrap: wrap;
      width: 100%;
    }
    .partner-logo-item {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 60px;
      width: 150px;
      flex-shrink: 0;
      opacity: 1;
      transition: transform 0.3s ease;
    }
    .partner-logo-item:hover {
      transform: scale(1.06);
    }
    .partner-logo-item img {
      max-height: 48px;
      max-width: 150px;
      object-fit: contain;
    }
    .partner-logo-item .logo-text {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--grey-dark);
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .partners-footer-row {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 44px;
    }
    .partners-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 13px 32px;
      font-size: 0.9rem;
      font-weight: 700;
      font-family: var(--font);
      color: var(--white);
      background: var(--blue);
      border: 1.5px solid var(--blue);
      border-radius: 0;
      cursor: pointer;
      text-decoration: none;
      transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    }
    .partners-cta-btn:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--black);
    }

    /* =============================================
       SECTION 5 — FINAL
       ============================================= */
    .final-section {
      width: 100%;
      min-height: calc(100vh - 70px);
      padding: 0;
      flex-direction: column;
      align-items: stretch;
    }
    .final-top {
      width: 100%;
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .final-section > #footer-placeholder {
      width: 100%;
    }

    /* ---------- Homepage resource card overrides ----------
       Base styles in resource-cards.css (220×260, horizontal expand).
       Homepage uses larger cards (300×360) with vertical expand.
       -------------------------------------------------------- */
    .resource-card { width: 300px; height: 360px; }
    .resource-card-overlay { top: 150px; }
    .resource-card.expanded {
      width: 380px;
      height: 520px;
    }
    .resource-card.expanded .resource-card-overlay {
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      bottom: auto;
    }
    .resource-card.expanded img {
      width: 100%;
      position: static;
    }

    /* =============================================
       RESPONSIVE
       ============================================= */
    @media (max-width: 768px) {
      html { scroll-snap-type: none; }
      .superhero p { font-size: 1rem; }
      .snap-section { min-height: auto; padding: 60px 0; display: block; }
      .help-split { grid-template-columns: 1fr; }
      .help-section { padding: 0; }
      .help-img { min-height: 240px; }
      .partner-logos-row { gap: 36px; }
      .resource-cards-row { flex-direction: column; gap: 16px; align-items: center; }
      .resource-card { width: 100%; max-width: 300px; height: 280px; }
      .resource-card-overlay { top: 100px; }
      .resource-card.expanded { width: 100%; max-width: 340px; height: auto; min-height: 400px; }
      .final-section {
      width: 100%; min-height: auto; padding: 0; }
    }

    @media (max-width: 480px) {
      .snap-section { padding: 44px 0; }
      .services-section { padding: 44px 0; }
      .services-partners { padding: 28px 0 0; }
      .help-section { padding: 0; }
      .help-cta { padding: 24px 0; }
    }
