    @media (max-width: 640px) {
      .final-cta-content h2 { font-size: clamp(28px, 8vw, 36px); }
      .final-cta-content p { font-size: 16px; }
    }

    .final-cta-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }

    /* Footer Section */

    @media (max-width: 960px) {
      .hero-wrapper { padding-top: 16px; }
      .hero { min-height: auto; border-radius: 44px; }
      .hero-content { width: 100%; padding: 40px 28px 32px; }
      .hero h1 { font-size: clamp(56px, 8vw, 88px); }
      .hero-person-image, .approved-card, .disbursed-notification-card, .bank-card { display: none; }
      .benefits-grid, .steps-two-column-grid { grid-template-columns: 1fr; }
      .stats-wrapper { padding-left: 32px; padding-right: 32px; }
      .stats-clean-container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; }
      .stats-header-content h2 { max-width: none; font-size: clamp(36px, 5.2vw, 52px); letter-spacing: var(--ls-heading); }
      .stats-featured-number { font-size: clamp(60px, 10vw, 88px); }
      .stats-clean-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
      .stat-clean-icon { font-size: 50px; }
      .stat-clean-item { column-gap: 12px; }
      .stat-clean-number { font-size: 50px; }
      .steps-media-column { height: 380px; }
      .testimonial-card { flex: 0 0 100%; }
      
      .final-cta-container { flex-direction: column; text-align: center; }
      .final-cta-actions { width: 100%; justify-content: center; }

    }

    @media (max-width: 960px) {
      .loan-products-header h2,
      .why-us-header h2,
      .steps-header h2,
      .testimonials-header h2 { font-size: clamp(36px, 5.2vw, 52px); letter-spacing: var(--ls-heading); }
    }

    @media (max-width: 960px) {
      .hero-title-line { transform: translate3d(22px, 0, 0); }
      .hero-title-line-1 { animation-delay: 520ms; }
      .hero-title-line-2 { animation-delay: 700ms; }
      .hero-title-line-3 { animation-delay: 880ms; }
      .hero-description { animation-delay: 1250ms; }
      .hero-actions .button-primary { animation-delay: 1450ms; }
      .hero-actions .button-secondary { animation-delay: 1600ms; }
    }

    @media (max-width: 540px) {
      .hero::before { animation-duration: 1150ms; }
      .hero-title-line { transform: translate3d(16px, 0, 0); animation-duration: 680ms; }
      .hero-title-line-1 { animation-delay: 450ms; }
      .hero-title-line-2 { animation-delay: 650ms; }
      .hero-title-line-3 { animation-delay: 850ms; }
      .hero-description { transform: translate3d(0, 14px, 0); animation-delay: 1080ms; animation-duration: 700ms; }
      .hero-actions .button { translate: 0 14px; animation-duration: 680ms; }
      .hero-actions .button-primary { animation-delay: 1300ms; }
      .hero-actions .button-secondary { animation-delay: 1450ms; }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero::before,
      .hero-person-image,
      .hero-title-line,
      .hero-description,
      .hero-actions .button {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        translate: none !important;
        clip-path: none !important;
      }
    }

    @media (max-width: 540px) {
      .loan-products-header h2,
      .why-us-header h2,
      .steps-header h2,
      .testimonials-header h2 { font-size: clamp(34px, 8.5vw, 42px); letter-spacing: var(--ls-heading); }

      .hero { border-radius: 28px; }
      .hero-content { padding: 36px 22px 28px; }
      .hero h1 { font-size: clamp(44px, 11vw, 60px); line-height: var(--lh-display); }
      .stats-wrapper { padding: 48px 20px 56px; }
      .stats-clean-container { gap: 34px; }
      .stats-header-content h2 { font-size: clamp(34px, 8.5vw, 42px); letter-spacing: var(--ls-heading); margin-bottom: 28px; }
      .stats-featured-number { font-size: clamp(54px, 13vw, 72px); letter-spacing: var(--ls-display); }
      .stats-clean-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 25px; }
      .stat-clean-number { font-size: 50px; letter-spacing: var(--ls-display); }
      .stat-clean-icon { font-size: 50px; }
      .stat-clean-item { column-gap: 8px; padding: 12px; }
      .stat-clean-label { font-size: 26px; font-weight: 700; margin-top: 10px; }
      .stat-clean-subtext { font-size: 18px; margin-top: 6px; }
      
    }

    /* Reveal each complete statistic item in order, from below into place. */
    .stats-clean-grid.stats-reveal-ready .stat-clean-item {
      opacity: 0;
      transform: translate3d(0, 24px, 0);
      transition: opacity 850ms cubic-bezier(0.22, 1, 0.36, 1),
                  transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }

    .stats-clean-grid.stats-reveal-ready .stat-clean-item.is-stat-revealed {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }

    @media (prefers-reduced-motion: reduce) {
      .stats-clean-grid.stats-reveal-ready .stat-clean-item,
      .stats-clean-grid.stats-reveal-ready .stat-clean-item.is-stat-revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto;
      }
    }

    /* Premium section-title word reveal: enhancement is inert until JS prepares a heading. */
    .section-title-reveal.word-reveal-ready .section-title-word {
      display: inline-block;
      opacity: 0;
      transform: translate3d(0, 30px, 0);
      transition: opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
                  transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
      transition-delay: 0ms;
      will-change: opacity, transform;
    }

    .section-title-reveal.word-reveal-ready.is-word-revealed .section-title-word {
      opacity: 1;
      transform: translate3d(0, 0, 0);
      transition-delay: var(--word-delay, 0ms);
    }

    @media (max-width: 767px) {
      .section-title-reveal.word-reveal-ready .section-title-word {
        transform: translate3d(0, 22px, 0);
      }
      .section-title-reveal.word-reveal-ready.is-word-revealed .section-title-word {
        transform: translate3d(0, 0, 0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .section-title-reveal.word-reveal-ready .section-title-word,
      .section-title-reveal.word-reveal-ready.is-word-revealed .section-title-word {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0ms !important;
        will-change: auto;
      }
    }

/* Help & FAQs page-specific styles */
:root {
  --faq-hero-bg: linear-gradient(135deg, #E5F3F9 0%, #C6E5F1 50%, #A7D5E8 100%);
}

.faq-hero-wrap {
  padding: 24px clamp(16px, 3vw, 40px) 0;
  background: #fff;
}
.faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  border-radius: 48px;
  /* The existing gradient is revealed by ::before, as in index.html. */
  background: transparent;
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--faq-hero-bg);
  clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  animation: faqHeroBackgroundReveal 1550ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;
  pointer-events: none;
}
@keyframes faqHeroBackgroundReveal {
  from { clip-path: polygon(0 0, 0 0, 0 0, 0 0); }
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes faqHeroRiseIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.faq-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: clamp(48px, 7vw, 88px) clamp(40px, 7vw, 88px);
}
.faq-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}
.faq-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--charcoal-navy);
  font-size: clamp(76px, 6.2vw, 92px);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  line-height: var(--lh-display);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: faqHeroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 520ms both;
}
.faq-hero h1 span { color: var(--deep-teal); }
.faq-hero-copy {
  max-width: 640px;
  margin: 24px 0 28px;
  color: var(--muted-blue-gray);
  font-size: 18px;
  font-weight: 500;
  line-height: var(--lh-body);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: faqHeroRiseIn 820ms cubic-bezier(0.22, 1, 0.36, 1) 1250ms both;
}
.faq-hero-actions { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .faq-hero::before,
  .faq-hero h1,
  .faq-hero-copy {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

.faq-section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 60px);
  background: #fff;
}
.faq-container { max-width: 1040px; margin: 0 auto; }
.faq-section-heading { text-align:center; max-width:760px; margin:0 auto 34px; }
.faq-section-heading h2, .contact-copy h2, .map-heading h2 {
  margin:0;
  color:var(--charcoal-navy);
  font-size:clamp(28px, 2.5vw, 38px);
  font-weight:var(--fw-heading);
  line-height:var(--lh-heading);
  letter-spacing:var(--ls-heading);
}
.faq-section-heading p { display:none; }
.faq-search-wrap { position:relative; max-width:720px; margin:0 auto 30px; }
.faq-search-icon {
  position:absolute; left:22px; top:50%; transform:translateY(-50%);
  width:21px; height:21px; color:var(--deep-teal); pointer-events:none;
}
.faq-search {
  display:block; width:100%; min-height:60px; padding:0 24px 0 56px;
  border:1px solid #D6E4EA; border-radius:999px; background:#fff;
  color:var(--charcoal-navy); font:inherit; font-size:16px;
  outline:none; box-shadow:0 6px 22px rgba(17,24,39,.045);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.faq-search:focus { border-color:var(--bright-blue); box-shadow:0 0 0 4px rgba(45,174,224,.14); }
.faq-list { border-top:1px solid #DCE7EC; }
.faq-item { border-bottom:1px solid #DCE7EC; transition:background-color .22s ease, transform .35s ease, opacity .55s ease; }
.faq-item:hover { background:#F7FBFD; }
.faq-list.faq-reveal-ready .faq-item { opacity:0; transform:translate3d(0,22px,0); }
.faq-list.faq-reveal-ready .faq-item.is-faq-revealed { opacity:1; transform:translate3d(0,0,0); }
.contact-reveal-ready .contact-detail, .contact-reveal-ready .contact-socials, .contact-reveal-ready .contact-form-card { opacity:0; transform:translate3d(0,24px,0); transition:opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1); }
.contact-reveal-ready .contact-detail.is-contact-revealed, .contact-reveal-ready .contact-socials.is-contact-revealed, .contact-reveal-ready .contact-form-card.is-contact-revealed { opacity:1; transform:translate3d(0,0,0); }
@media (prefers-reduced-motion: reduce) { .faq-list.faq-reveal-ready .faq-item,.faq-list.faq-reveal-ready .faq-item.is-faq-revealed,.contact-reveal-ready .contact-detail,.contact-reveal-ready .contact-socials,.contact-reveal-ready .contact-form-card { opacity:1!important; transform:none!important; transition:none!important; } }
.faq-question-heading { margin:0; }
.faq-question {
  width:100%; display:flex; justify-content:space-between; align-items:center; gap:24px;
  padding:24px 14px; border:0; background:transparent; color:var(--charcoal-navy);
  text-align:left; font:inherit; font-size:22px; font-weight:600;
  line-height:var(--lh-ui); cursor:pointer;
}
.faq-question:hover { color:var(--deep-teal); }
.faq-question:focus-visible { outline:3px solid rgba(45,174,224,.55); outline-offset:-3px; border-radius:12px; }
.faq-toggle {
  flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center;
  border-radius:0; color:#1B6083; background:transparent;
  font-size:32px; font-weight:var(--fw-heading); line-height:1; transition:transform .2s ease, color .2s ease;
}
.faq-question[aria-expanded="true"] .faq-toggle { background:transparent !important; }
.faq-answer { padding:0 64px 24px 14px; color:var(--muted-blue-gray); font-size:16px; line-height:var(--lh-body); }
.faq-answer p { margin:0; }
.faq-answer[hidden] { display:none; }
.faq-empty { padding:28px 14px; color:var(--muted-blue-gray); text-align:center; }
.faq-controls { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:14px; margin-top:32px; }
.faq-show-more {
  min-height:48px; padding:0 26px; border:1.5px solid #FFA51F; border-radius:999px;
  background:#FFA51F; color:#FFFFFF; font:inherit; font-size:15px; font-weight:var(--fw-heading); cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.faq-show-more.faq-button-reveal-ready { opacity:0; transform:translate3d(0,22px,0); }
.faq-show-more.faq-button-reveal-ready.is-faq-button-revealed {
  opacity:1; transform:translate3d(0,0,0);
  transition:opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1), background .2s ease, border-color .2s ease, color .2s ease;
}
.faq-show-more:hover { background:#E8940D; border-color:#E8940D; color:#fff; transform:translateY(-2px); }
.faq-result-count { display:none !important; }

.contact-section {
  padding:clamp(64px, 8vw, 104px) clamp(20px, 5vw, 60px);
  background:#F6FAFC;
}
.contact-container {
  max-width:1280px; margin:0 auto; display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:clamp(32px, 5vw, 76px); align-items:start;
}
.contact-copy { padding-top:14px; display:flex; flex-direction:column; justify-content:space-between; gap:28px; min-height:100%; }
.contact-copy > p { display:none; }
.contact-details { display:grid; gap:20px; margin:0 0 32px; }
.contact-detail { display:flex; align-items:flex-start; gap:14px; color:var(--charcoal-navy); }
.contact-detail-icon {
  flex:0 0 22px; width:22px; height:22px; display:grid; place-items:center;
  background:transparent; color:#1B6083;
}
.contact-detail-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.contact-detail-label { display:none; }
.contact-detail a, .contact-detail-value { color:var(--charcoal-navy); font-size:16px; font-weight:var(--fw-body); line-height:var(--lh-body); overflow-wrap:anywhere; }
.contact-detail a:hover { color:var(--deep-teal); text-decoration:underline; text-underline-offset:3px; }
.contact-socials { display:flex; align-items:center; gap:24px; margin-top:48px; }

.contact-form-card {
  background:#fff; border:1px solid #E5EDF1; border-radius:24px; padding:clamp(24px, 4vw, 42px);
  box-shadow:none; transition:box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.contact-form-card:hover { box-shadow:0 18px 42px rgba(27,96,131,.12); transform:translateY(-3px); border-color:#D4E5ED; }
.contact-form-card h3 { margin:0 0 8px; font-size:22px; color:var(--charcoal-navy); font-weight:var(--fw-heading); line-height:var(--lh-ui); }
.contact-form-card > p { margin:0 0 26px; color:var(--muted-blue-gray); font-size:16px; line-height:var(--lh-body); }
.contact-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.form-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.form-field.full-width { grid-column:1 / -1; }
.form-field label { color:var(--charcoal-navy); font-size:16px; font-weight:600; }
.form-field input, .form-field textarea {
  width:100%; border:1px solid #D7E3E9; border-radius:14px; background:#fff;
  padding:14px 16px; color:var(--charcoal-navy); font:inherit; font-size:15px;
  outline:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.form-field input { min-height:52px; }
.form-field textarea { min-height:150px; resize:vertical; line-height:var(--lh-body); }
.form-field input:focus, .form-field textarea:focus { border-color:var(--bright-blue); box-shadow:0 0 0 4px rgba(45,174,224,.13); }
.form-field input::placeholder, .form-field textarea::placeholder { color:#8A9BA5; }
.contact-submit {
  grid-column:1 / -1; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:54px; padding:0 28px; border:0; border-radius:999px;
  background:#FFA51F; color:#FFFFFF; font:inherit; font-size:16px; font-weight:var(--fw-heading);
  cursor:pointer; box-shadow:0 4px 14px rgba(255,165,32,.2);
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-submit:hover { background:#E58E0B; color:#fff; transform:translateY(-2px); box-shadow:0 8px 20px rgba(255,165,32,.25); }
.contact-submit:focus-visible { outline:3px solid rgba(45,174,224,.7); outline-offset:3px; }
.form-note { grid-column:1 / -1; margin:0; color:var(--muted-blue-gray); font-size:13px; line-height:var(--lh-body); }
.form-status { grid-column:1 / -1; padding:12px 14px; border-radius:12px; background:#EAF5FA; color:#1B6083; font-size:14px; line-height:var(--lh-body); }
.map-section { padding:0; margin:0; width:100%; background:#fff; }
.map-container { width:100%; margin:0; }
.map-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.map-heading p { max-width:520px; margin:0; color:var(--muted-blue-gray); font-size:16px; line-height:var(--lh-body); }
.map-frame-wrap { overflow:hidden; border-radius:0; border:0; background:#EAF5FA; box-shadow:none; width:100%; }
.map-frame { display:block; width:100%; height:clamp(380px, 48vw, 600px); border:0; }
.map-address { display:flex; align-items:flex-start; gap:12px; margin-top:18px; color:var(--muted-blue-gray); font-size:15px; line-height:var(--lh-body); }
.map-address svg { flex:0 0 20px; width:20px; height:20px; margin-top:2px; color:var(--deep-teal); }

@media (max-width: 960px) {
  .faq-hero h1 { font-size:clamp(52px, 7vw, 72px); }
  .faq-section-heading h2, .contact-copy h2, .map-heading h2 { font-size:clamp(36px, 4.4vw, 44px); }
  .contact-container { grid-template-columns:1fr; }
  .contact-copy { max-width:760px; }
  .map-heading { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 640px) {
  .faq-hero-wrap { padding:16px 16px 0; }
  .faq-hero { min-height:340px; border-radius:28px; }
  .faq-hero-content { padding:42px 24px; }
  .faq-hero h1 { font-size:clamp(42px, 10vw, 56px); line-height:var(--lh-display); }
  .faq-hero-copy { font-size:16px; }
  .faq-section-heading h2, .contact-copy h2, .map-heading h2 { font-size:clamp(32px, 8vw, 38px); }
  .faq-question { font-size:20px; }
  .faq-answer { font-size:16px; }
  .contact-detail a, .contact-detail-value { font-size:15px; }
  .contact-form-card h3 { font-size:20px; }
  .contact-form-card > p, .form-field label { font-size:15px; }
  .faq-section, .contact-section, .map-section { padding-left:18px; padding-right:18px; }
  .faq-question { padding:20px 8px; gap:14px; }
  .faq-answer { padding:0 48px 22px 8px; }
  .contact-form-card { padding:24px 20px; border-radius:20px; }
  .contact-form { grid-template-columns:1fr; }
  .form-field.full-width, .contact-submit, .form-note, .form-status { grid-column:1; }
  .map-frame { height:340px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-toggle, .faq-show-more, .contact-submit, .form-field input, .form-field textarea { transition:none; }
  .faq-show-more.faq-button-reveal-ready { opacity:1!important; transform:none!important; }
}

.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }
.faq-item[hidden] { display:none !important; }

    .contact-detail-label { text-transform:none; letter-spacing:0; font-size:14px; font-weight:700; color:var(--charcoal-navy); }
    .contact-detail-value { display:block; }
    .faq-section-heading { margin-bottom:34px; }
    .faq-section-heading h2, .contact-copy h2 { font-size:clamp(44px, 4vw, 56px); line-height:var(--lh-heading); letter-spacing:var(--ls-heading); }
    @media (max-width:960px) { .faq-section-heading h2, .contact-copy h2 { font-size:clamp(36px, 4.4vw, 44px); } }
    @media (max-width:540px) { .faq-section-heading h2, .contact-copy h2 { font-size:clamp(32px, 8vw, 38px); } }
    @media (max-width:540px) { .faq-hero { border-radius:28px; } .faq-hero-content { padding:40px 24px; } .faq-hero h1 { font-size:clamp(42px, 10vw, 56px); } .map-frame { height:420px; } }
  /* Contact heading: requested fixed 50px size across screen widths. */
  .contact-copy h2#contact-title { font-size: 50px; }

    /* Shared Lenderly design system alignment — FAQ page */
    :root {
      --white: #FFFFFF;
      --bright-blue: #2DAEE0;
      --deep-teal: #1B6083;
      --muted-blue-gray: #4A6370;
      --accent-orange: #FFA51F;
      --orange-hover: #E58E0B;
      --charcoal-navy: #111827;
      --radius-lg: 48px;
      --radius-md: 28px;
      --radius-sm: 16px;
      --card-solid-teal: #EAF5FA;
      --card-solid-sky: #EDF7FA;
      --card-solid-amber: #FFF1D9;
    }

    body { color: var(--charcoal-navy); }
    .hero-wrapper { padding: 24px clamp(16px, 3vw, 40px) 0; }
    .faq-hero {
      border-radius: 48px;
      overflow: hidden;
    }
    .faq-hero h1 {
      color: var(--charcoal-navy);
      font-size: clamp(44px, 5.5vw, 72px);
      line-height: var(--lh-display);
      letter-spacing: var(--ls-display);
      font-weight: var(--fw-display);
    }
    .faq-hero-copy,
    .faq-answer,
    .contact-copy > p,
    .map-heading p {
      color: var(--muted-blue-gray);
    }
    .faq-section-heading h2,
    .contact-copy h2,
    .map-heading h2 {
      color: var(--charcoal-navy);
      font-size: clamp(32px, 4.2vw, 56px);
      line-height: var(--lh-heading);
      letter-spacing: var(--ls-heading);
      font-weight: var(--fw-heading);
    }
    .faq-section, .contact-section, .map-section {
      max-width: 1440px;
      margin-left: auto;
      margin-right: auto;
      padding-top: clamp(56px, 7vw, 88px);
      padding-bottom: clamp(56px, 7vw, 88px);
    }
    .faq-list { max-width: 1120px; margin-left: auto; margin-right: auto; }
    .faq-item {
      border-radius: 16px;
      border-color: rgba(27, 96, 131, 0.12);
    }
    .faq-question { color: var(--charcoal-navy); }
    .faq-question:hover { color: var(--deep-teal); }
    .faq-toggle {
      border-radius: 999px;
      color: var(--deep-teal);
      background: #EAF5FA;
    }
    .contact-detail-icon {
      background: #EAF5FA;
      color: var(--deep-teal);
      border-radius: 16px;
    }
    .contact-form-card {
      border-radius: 28px;
      border-color: rgba(27, 96, 131, 0.12);
      box-shadow: none;
      transition: border-color 250ms ease;
    }
    .contact-form-card:hover {
      border-color: #D4E5ED;
      box-shadow: none;
      transform: none;
    }
    .form-field input, .form-field textarea {
      border-radius: 12px;
      border-color: #D7E3E9;
      color: var(--charcoal-navy);
    }
    .form-field input:focus, .form-field textarea:focus {
      border-color: var(--bright-blue);
      box-shadow: 0 0 0 3px rgba(45, 174, 224, 0.14);
    }
    .contact-submit, .faq-show-more {
      border-radius: 999px;
      background: var(--deep-teal);
      color: var(--white);
      transition: background-color 200ms ease, color 200ms ease;
    }
    .contact-submit:hover, .faq-show-more:hover {
      background: #164F6C;
      color: var(--white);
      transform: none;
      box-shadow: none;
    }
    .contact-copy h2#contact-title { font-size: 50px; }

    /* FAQ page refinements requested for v3 */
    .faq-hero-actions { display: none !important; }
    .faq-item { border-radius: 0 !important; }
    .faq-toggle {
      background: transparent !important;
      border-radius: 0 !important;
      box-shadow: none !important;
    }
    .faq-show-more {
      border-color: #1B6083 !important;
      background: #1B6083;
      color: #FFFFFF;
    }
    .faq-show-more:hover,
    .faq-show-more:focus-visible {
      background: #164F6C;
      border-color: #164F6C !important;
      color: #FFFFFF;
    }
    .contact-section {
      border-radius: 28px;
      overflow: hidden;
    }
    .contact-submit {
      background: #FFA51F !important;
      color: #FFFFFF !important;
      border-color: #FFA51F !important;
    }
    .contact-submit:hover,
    .contact-submit:focus-visible {
      background: #E58E0B !important;
      border-color: #E58E0B !important;
      color: #FFFFFF !important;
    }
    @media (max-width: 640px) {
      .contact-section { border-radius: 28px; }
    }

    /* Footer matches index-v8.html: static, with color feedback only. */

    @media (max-width: 960px) {
      .faq-hero { border-radius: 36px; }
      .faq-hero h1 { font-size: clamp(42px, 6vw, 60px); }
      .faq-section, .contact-section, .map-section {
        padding-top: 60px;
        padding-bottom: 60px;
      }
    }
    @media (max-width: 540px) {
      .faq-hero { border-radius: 28px; }
      .faq-hero-content { padding: 40px 24px; }
      .faq-hero h1 { font-size: clamp(40px, 10vw, 52px); }
      .faq-section-heading h2, .contact-copy h2, .map-heading h2 {
        font-size: clamp(32px, 8vw, 38px);
      }
      .contact-copy h2#contact-title { font-size: 50px; }
      .contact-form-card { border-radius: 16px; }
    }

    /* Shared homepage header and hero alignment — synchronized with index-v8.html */

    .faq-hero-wrap {
      padding: 24px 24px 0 !important;
      background: var(--white) !important;
    }
    .faq-hero {
      width: 100% !important;
      max-width: 1440px !important;
      height: clamp(580px, 72svh, 680px) !important;
      min-height: 0 !important;
      margin: 0 auto !important;
      border-radius: 48px !important;
      background: transparent !important;
    }
    .faq-hero::before {
      background: var(--hero-bg) !important;
    }
    .faq-hero-content {
      width: min(58%, 800px) !important;
      max-width: 800px !important;
      padding: 32px clamp(32px, 3.5vw, 56px) 32px clamp(40px, 4vw, 68px) !important;
    }
    .faq-hero h1 {
      max-width: 760px !important;
      font-size: clamp(56px, 5.8vw, 88px) !important;
      line-height: var(--lh-display) !important;
      letter-spacing: var(--ls-display) !important;
      font-weight: var(--fw-display) !important;
    }
    .faq-hero h1 span { color: var(--deep-teal) !important; }
    .faq-hero-copy {
      max-width: 600px !important;
      margin: 28px 0 32px !important;
      color: var(--muted-blue-gray) !important;
      font-size: 18px !important;
      line-height: var(--lh-body) !important;
    }
    .faq-hero-actions {
      display: flex !important;
      align-items: center !important;
      flex-wrap: wrap !important;
      gap: 14px !important;
    }
    .faq-hero-actions .button {
      min-height: 52px !important;
      padding: 0 28px !important;
      border-radius: 999px !important;
      font-size: 15px !important;
    }

    @media (max-width: 960px) {

      .faq-hero-wrap { padding: 16px 20px 0 !important; }
      .faq-hero { height: auto !important; min-height: 480px !important; border-radius: 36px !important; }
      .faq-hero-content { width: 64% !important; padding: 48px 32px !important; }
      .faq-hero h1 { font-size: clamp(48px, 6vw, 68px) !important; }
    }
    @media (max-width: 640px) {

      .faq-hero-wrap { padding: 12px 12px 0 !important; }
      .faq-hero { min-height: 0 !important; height: auto !important; border-radius: 28px !important; }
      .faq-hero-content { width: 100% !important; max-width: none !important; padding: 42px 24px 36px !important; }
      .faq-hero h1 { font-size: clamp(40px, 9vw, 56px) !important; line-height: var(--lh-display) !important; }
      .faq-hero-copy { margin: 22px 0 26px !important; font-size: 16px !important; }
      .faq-hero-actions { gap: 10px !important; }
      .faq-hero-actions .button { min-height: 48px !important; padding: 0 20px !important; font-size: 14px !important; }
    }

/* Our Story page — matches Our Team / Testimonials; brand colours from the logo. */
:root {
  --logo-blue: #2DAEE0;
  --logo-slate: #527386;
  --logo-teal: #1D6083;
  --story-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
/* Same section spacing as the home page: equal space above and below every section */
.story-section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 48px);
  background: #FFFFFF;
}
.story-container { max-width: 1280px; margin: 0 auto; }
.story-hero-wrap { padding-bottom: 0; }
.story-hero { min-height: 420px; }
.story-hero h1 { max-width: 760px; }
.story-hero .faq-hero-copy { max-width: 640px; }
/* This hero has no buttons, so the text needs no bottom margin */
.story-hero .faq-hero-copy { margin-bottom: 0 !important; }
@media (max-width: 960px) { .story-hero { min-height: 0 !important; height: auto !important; } .story-hero .faq-hero-content { padding-top: 56px !important; padding-bottom: 56px !important; } }

/* Shared heading style (same as the other pages) */
.story-title {
  margin: 0;
  color: var(--charcoal-navy, #111827);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
  font-weight: var(--fw-heading);
}
.story-heading { max-width: 780px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }

/* ---------- Intro ---------- */
.lenderly-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.story-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 28px;
  background: #EAF5FA;
  box-shadow: 0 24px 60px -32px rgba(19, 47, 62, .45);
}
.story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.story-photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--logo-teal);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.lenderly-copy .story-title { margin-bottom: 22px; }
.lenderly-copy p, .purpose-card p, .value-card p {
  margin: 0 0 18px;
  color: var(--muted-blue-gray);
  font-size: 16px;
  line-height: var(--lh-body);
  font-weight: 500;
  text-wrap: pretty; /* balanced line breaks, no lonely last words */
}
.lenderly-copy strong { color: var(--logo-teal); font-weight: var(--fw-heading); }

/* Credentials: green verified badges */
.story-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 5px;
  border: 1px solid #BFE5CD;
  border-radius: 999px;
  background: #EAF7EF;
  color: #1E6B42;
  font-size: 12.5px;
  font-weight: 600;
  line-height: var(--lh-heading);
}
.story-badge strong { color: #14532D; font-weight: var(--fw-heading); }
.story-badge-icon {
  display: grid; place-items: center;
  flex: 0 0 18px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #22A05A;
  color: #FFFFFF;
}
.story-badge-icon svg { width: 11px; height: 11px; }

/* ---------- Mission & vision ---------- */
.purpose-section { background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFC 100%); }
.purpose-logo { width: min(440px, 88%); margin: 0 auto clamp(28px, 4vw, 44px); }
.purpose-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.purpose-logo text {
  fill: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-weight: var(--fw-heading);
}
.logo-left text, .logo-right text { font-size: 22px; letter-spacing: -.01em; }
.logo-lens text { font-size: 14px; }
.logo-circle, .logo-lens { transform-box: fill-box; transform-origin: center; }

.purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.purpose-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 28px;
  border: 0;
  transition: transform 400ms var(--story-ease), box-shadow 400ms var(--story-ease);
}
.purpose-card::after {
  /* faint circle echoing the logo */
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  right: -90px; bottom: -110px;
  border-radius: 50%;
  background: var(--purpose-color);
  opacity: .08;
  pointer-events: none;
}
.purpose-card > * { position: relative; z-index: 1; }
.mission-card { --purpose-color: var(--logo-blue); background: #EAF7FD; }
.vision-card { --purpose-color: var(--logo-slate); background: #EEF2F5; }
.purpose-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(19, 47, 62, .35); }
.purpose-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--purpose-color);
  font-size: 14px;
  font-weight: var(--fw-label);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}
.vision-card .purpose-label { color: #3F5F72; }
.purpose-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--purpose-color); box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
.purpose-card .purpose-lead {
  color: #111827;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: var(--lh-ui);
  font-weight: 700;
  letter-spacing: 0;
}
.purpose-card p:last-child, .value-card p:last-child, .lenderly-copy p:last-of-type { margin-bottom: 0; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.value-card {
  /* open layout — no card box */
  max-width: 360px;
  margin: 0 auto;
  padding: 8px 12px;
  text-align: center;
}
.value-blue { --value-color: #2BADE2;          --value-tint: #F1FAFE; }
.value-teal { --value-color: var(--logo-teal); --value-tint: #F0F6F9; }
.value-slate { --value-color: var(--logo-slate); --value-tint: #F3F6F8; }
.value-top { display: flex; justify-content: center; margin-bottom: 26px; }
.value-icon {
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  transition: transform 400ms var(--story-ease);
}
.value-icon img { display: block; width: 80px; height: 80px; }
.value-card:hover .value-icon { transform: rotate(-6deg) scale(1.06); }
.value-card h3 { margin: 0 0 12px; color: #111827; font-size: 22px; line-height: var(--lh-ui); font-weight: var(--fw-heading); letter-spacing: 0; }
.value-card p { font-size: 16px; line-height: var(--lh-body); }

/* ---------- Final CTA as a card ---------- */
.final-cta-section { background: #FFFFFF; padding: 0 24px clamp(48px, 6vw, 80px); } /* matches the timeline's white background */
.final-cta-container {
  position: relative; max-width: 1440px;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 6vw, 80px);
  border-radius: 48px; overflow: hidden; isolation: isolate;
  background: #1A6083;
  box-shadow: 0 24px 60px -28px rgba(19, 47, 62, .45);
}
.final-cta-container::before, .final-cta-container::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
}
.final-cta-container::before {
  width: 520px; height: 520px; top: -260px; right: -120px;
  background: radial-gradient(circle, rgba(45,174,224,.45), transparent 70%);
}
.final-cta-container::after {
  width: 420px; height: 420px; bottom: -260px; left: -140px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
}

/* ---------- Motion (only once JS marks the page ready) ---------- */
.story-motion .story-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 850ms var(--story-ease), transform 850ms var(--story-ease), box-shadow 400ms var(--story-ease), border-color 300ms ease;
  transition-delay: var(--story-delay, 0ms);
}
.story-motion .story-reveal.is-story-visible { opacity: 1; transform: none; }
.story-motion .story-reveal.is-story-visible:hover { transition-delay: 0ms; }
.story-motion .purpose-card.is-story-visible:hover { transform: translateY(-4px); }

/* Photo: diagonal wipe + gentle zoom-out (wipe on the image so the frame stays observable) */
.story-motion .story-photo { background: transparent; box-shadow: none; transition: box-shadow 900ms var(--story-ease) 600ms; }
.story-motion .story-photo img {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transform: scale(1.12);
  transition: clip-path 1200ms var(--story-ease), transform 1600ms var(--story-ease);
}
.story-motion .story-photo-caption { opacity: 0; transform: translateY(10px); transition: opacity 600ms var(--story-ease) 900ms, transform 600ms var(--story-ease) 900ms; }
.story-motion .story-photo.is-story-visible { box-shadow: 0 24px 60px -32px rgba(19, 47, 62, .45); }
.story-motion .story-photo.is-story-visible img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: none; }
.story-motion .story-photo.is-story-visible .story-photo-caption { opacity: 1; transform: none; }

/* Credentials rise in */
.story-motion .story-facts li { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--story-ease), transform 600ms var(--story-ease); }
.story-motion .is-story-visible .story-facts li { opacity: 1; transform: none; }
.story-motion .is-story-visible .story-facts li:nth-child(1) { transition-delay: 450ms; }
.story-motion .is-story-visible .story-facts li:nth-child(2) { transition-delay: 560ms; }

/* Logo forms: circles slide together, then the lens appears */
.story-motion .purpose-logo .logo-left { opacity: 0; transform: translateX(-70px); }
.story-motion .purpose-logo .logo-right { opacity: 0; transform: translateX(70px); }
.story-motion .purpose-logo .logo-lens { opacity: 0; transform: scale(.4); }
.story-motion .purpose-logo .logo-circle { transition: opacity 600ms var(--story-ease), transform 850ms var(--story-ease); }
.story-motion .purpose-logo .logo-lens { transition: opacity 450ms var(--story-ease) 600ms, transform 600ms cubic-bezier(.34, 1.56, .64, 1) 600ms; }
.story-motion .purpose-logo.is-story-visible .logo-circle,
.story-motion .purpose-logo.is-story-visible .logo-lens { opacity: 1; transform: none; }
.purpose-logo .logo-circle { transition: transform 600ms var(--story-ease); }
.purpose-logo:hover .logo-left,
.story-motion .purpose-logo.is-story-visible:hover .logo-left { transform: translateX(-8px); }
.purpose-logo:hover .logo-right,
.story-motion .purpose-logo.is-story-visible:hover .logo-right { transform: translateX(8px); }
/* After the entrance finishes, hovers respond instantly */
.story-motion .is-settled,
.story-motion .is-settled .logo-circle { transition-delay: 0ms !important; transition-duration: 450ms !important; }
.story-motion .purpose-card { --story-delay: 0ms; }
.story-motion .purpose-card.story-reveal { transition-duration: 650ms; }
.story-motion .mission-card.is-story-visible { transition-delay: 300ms; }
.story-motion .vision-card.is-story-visible { transition-delay: 420ms; }

/* Value icons pop in */
.story-motion .value-icon { transform: scale(.6) rotate(-12deg); }
.story-motion .value-card.is-story-visible .value-icon { transform: none; transition: transform 700ms cubic-bezier(.34, 1.56, .64, 1) var(--story-delay, 0ms); }
.story-motion .value-card.is-story-visible:hover .value-icon { transform: rotate(-6deg) scale(1.06); transition-delay: 0ms; }
.story-motion .values-grid .value-card:nth-child(2) { --story-delay: 140ms; }
.story-motion .values-grid .value-card:nth-child(3) { --story-delay: 280ms; }

/* ---------- Timeline ---------- */
.timeline-section { background: #FFFFFF; }
.timeline {
  --year-w: 150px;
  --line-gap: 22px;              /* line centre, measured from the items column */
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}
.timeline ol { margin: 0; padding: 0; list-style: none; }
.timeline-track {
  position: absolute;
  top: 8px; bottom: 8px;
  left: calc(var(--year-w) + var(--line-gap) - 1.5px);
  width: 3px;
  border-radius: 3px;
  background: #DCE6EB;
  overflow: hidden;
}
.timeline-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--logo-blue) 0%, var(--logo-teal) 100%);
  transform: scaleY(var(--timeline-progress, 1));
  transform-origin: top;
}
.timeline-group {
  display: grid;
  grid-template-columns: var(--year-w) minmax(0, 1fr);
  align-items: start;
}
.timeline-group + .timeline-group { margin-top: 28px; }
.timeline-year {
  position: sticky;
  top: 120px;
  margin: 0;
  padding-top: 14px;
  color: #C3D3DB;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: var(--lh-display);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  transition: color 500ms var(--story-ease);
}
.timeline-group.is-reached .timeline-year { color: var(--logo-teal); }
.timeline-items { display: grid; gap: 18px; padding-left: calc(var(--line-gap) * 2 + 8px) !important; }
.timeline-item { position: relative; }
.timeline-dot {
  position: absolute;
  top: 30px;
  left: calc(-1 * (var(--line-gap) + 8px + 9px));
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #C9D7DF;
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 1px rgba(27, 96, 131, .12);
  transition: background-color 400ms var(--story-ease), transform 500ms cubic-bezier(.34, 1.56, .64, 1);
}
.timeline-item.is-reached .timeline-dot { background: var(--logo-blue); transform: scale(1.15); }
.timeline-item.is-latest.is-reached .timeline-dot,
.timeline-today .timeline-item.is-reached .timeline-dot { background: var(--logo-teal); }
.timeline-item.is-latest.is-reached .timeline-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(29, 96, 131, .35);
  animation: timeline-ring 2.4s ease-out infinite;
}
@keyframes timeline-ring { 0% { opacity: 1; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.6); } }

/* Cards */
.timeline-card {
  display: flex;
  gap: 18px;
  padding: 22px 26px;
  background: #F5F9FB;          /* very light fill, no border or shadow */
  border: 0;
  border-radius: 20px;
  transition: transform 400ms var(--story-ease), background-color 300ms ease;
}
.timeline-card:hover { transform: translateY(-3px); background: #EDF4F8; }
.tl-blue { --tl-color: var(--logo-blue); }
.tl-teal { --tl-color: var(--logo-teal); }
.tl-slate { --tl-color: var(--logo-slate); }
.timeline-icon {
  display: grid; place-items: center; flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--tl-color, var(--logo-teal));
  color: #FFFFFF;
  box-shadow: 0 10px 20px -12px var(--tl-color, var(--logo-teal));
}
.timeline-icon svg { width: 22px; height: 22px; }
.timeline-body { min-width: 0; }
.timeline-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.timeline-month, .timeline-place, .timeline-latest {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px; font-weight: var(--fw-label); line-height: var(--lh-ui);
}
.timeline-month { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(27, 96, 131, .12); color: var(--logo-teal); letter-spacing: var(--ls-caps); text-transform: uppercase; }
.timeline-place { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(27, 96, 131, .10); color: var(--muted-blue-gray); font-weight: 700; }
.timeline-place svg { width: 13px; height: 13px; }
.timeline-latest { background: var(--logo-teal); color: #FFFFFF; }
.timeline-card h3 { margin: 0 0 12px; color: #111827; font-size: 19px; line-height: var(--lh-ui); font-weight: var(--fw-heading); letter-spacing: 0; }
.timeline-card p { margin: 0; color: var(--muted-blue-gray); font-size: 16px; line-height: var(--lh-body); font-weight: 500; }

/* Closing "Today" card */
.timeline-now { background: var(--logo-teal); box-shadow: 0 18px 40px -26px rgba(19, 47, 62, .45); }
.timeline-now:hover { background: #1A5877; }
.timeline-now .timeline-icon { background: rgba(255, 255, 255, .16); box-shadow: none; }
.timeline-now h3 { color: #FFFFFF; font-size: 21px; }
.timeline-now p { color: rgba(255, 255, 255, .85); }

/* Timeline motion: cards slide in from the right */
.story-motion .timeline-card.story-reveal {
  transform: translate3d(28px, 0, 0);
  transition: opacity 850ms var(--story-ease), transform 850ms var(--story-ease), background-color 300ms ease;
}
.story-motion .timeline-card.story-reveal.is-story-visible { transform: none; }
.story-motion .timeline-card.story-reveal.is-story-visible:hover { transform: translateY(-3px); }
.story-motion .timeline-year.story-reveal {
  transform: translate3d(0, 14px, 0);
  transition: opacity 850ms var(--story-ease), transform 850ms var(--story-ease), color 500ms var(--story-ease), background-color 500ms var(--story-ease);
}
.story-motion .timeline-year.story-reveal.is-story-visible { transform: none; }

@media (max-width: 760px) {
  .timeline { --year-w: 0px; --line-gap: 10px; }
  .timeline-group { grid-template-columns: minmax(0, 1fr); }
  .timeline-group + .timeline-group { margin-top: 26px; }
  .timeline-year {
    position: static;
    justify-self: start;
    margin: 0 0 14px calc(var(--line-gap) * 2 + 8px);
    padding: 6px 14px;
    border-radius: 999px;
    background: #EEF4F7;
    color: #8AA5B3;
    font-size: 16px;
    letter-spacing: 0;
  }
  .timeline-group.is-reached .timeline-year { background: var(--logo-teal); color: #FFFFFF; }
  .timeline-items { gap: 14px; }
  .timeline-card { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .timeline-dot { top: 26px; }
  .timeline-card h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-fill { transform: none !important; }
  .timeline-dot, .timeline-year, .timeline-card { transition: none !important; }
  .timeline-item.is-latest.is-reached .timeline-dot::after { animation: none; }
  .timeline-card:hover { transform: none; }
}

/* ---------- Team photo carousel ---------- */
.story-media { min-width: 0; }
.story-carousel { outline: none; }
.story-carousel:focus-visible { box-shadow: 0 0 0 4px rgba(45, 174, 224, .45); }
.story-slides {
  display: flex;
  height: 100%;
  transition: transform 700ms var(--story-ease);
  will-change: transform;
}
.story-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #EAF5FA;
  cursor: zoom-in;
  overflow: hidden;
}
.story-slides { touch-action: pan-y; }
.story-slide img { transition: transform 900ms var(--story-ease); user-select: none; -webkit-user-drag: none; }
.story-motion .story-photo.is-settled img { transition: transform 900ms var(--story-ease); }
.story-slide:hover img { transform: scale(1.04); }
.story-motion .story-photo.is-settled .story-slide:hover img { transform: scale(1.04); }
.story-slide:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -6px; }

.lb-btn {
  appearance: none;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--logo-teal);
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(19, 47, 62, .5);
  transition: background-color 220ms ease, color 220ms ease, transform 220ms var(--story-ease);
}
.lb-btn svg { width: 20px; height: 20px; }
.lb-btn:hover { background: var(--logo-teal); color: #FFFFFF; transform: scale(1.06); }
.lb-btn:focus-visible, .story-dot:focus-visible { outline: 3px solid rgba(45, 174, 224, .6); outline-offset: 2px; }

/* Dots */
.story-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.story-dot {
  appearance: none;
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #C9D7DF;
  cursor: pointer;
  transition: width 400ms var(--story-ease), background-color 300ms ease;
}
.story-dot:hover { background: #9AB2BF; }
.story-dot[aria-current="true"] { width: 26px; background: var(--logo-teal); }
.story-motion .story-dots { opacity: 0; transition: opacity 600ms var(--story-ease) 1000ms; }
.story-motion .story-dots.is-story-visible { opacity: 1; }

/* ---------- Photo viewer (lightbox) ---------- */
.story-lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0; padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  color: #FFFFFF;
}
.story-lightbox::backdrop { background: rgba(10, 26, 36, .92); backdrop-filter: blur(6px); }
.story-lightbox[open] { animation: lb-in 320ms var(--story-ease); }
.story-lightbox[open]::backdrop { animation: lb-fade 320ms ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage {
  position: absolute;
  inset: 72px 84px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-frame {
  /* width/height set by script to match the photo's exact proportions */
  position: relative;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;            /* zoom stays inside the photo */
  border-radius: 14px;
  background: #0F2430;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.lb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 380ms var(--story-ease), opacity 250ms ease;
}
.lb-img.is-zoomed { transform: scale(2); cursor: zoom-out; }
.lb-img.is-swapping { opacity: 0; }
.lb-close { position: absolute; top: 20px; right: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -21px; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-bar {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 0 20px;
  text-align: center;
}
.lb-caption { margin: 0; font-size: 16px; font-weight: 700; }
.lb-count { color: rgba(255, 255, 255, .65); font-size: 14px; font-weight: 600; }
.lb-hint { color: rgba(255, 255, 255, .5); font-size: 13px; }
.lb-hint::before { content: "·"; margin-right: 14px; color: rgba(255, 255, 255, .35); }

@media (hover: none) {
  .story-slide:hover img { transform: none; }
  .lb-hint { display: none; }
}
@media (max-width: 640px) {
  .lb-stage { inset: 64px 12px 120px; }
  .lb-prev, .lb-next { top: auto; bottom: 64px; margin-top: 0; }
  .lb-prev { left: calc(50% - 52px); }
  .lb-next { right: calc(50% - 52px); }
  .lb-bar { bottom: 20px; }
  .lb-close { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-slides, .story-slide img, .lb-img, .story-dot { transition: none !important; }
  .story-lightbox[open], .story-lightbox[open]::backdrop { animation: none; }
  .story-motion .story-dots { opacity: 1 !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lenderly-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 720px; width: 100%; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .values-grid .value-card:last-child { grid-column: span 2; }
  .final-cta-section { padding: 0 20px 56px; }
  .final-cta-container { border-radius: 36px; padding: 48px 32px; }
}
@media (max-width: 700px) {
  .purpose-grid, .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .values-grid { gap: 40px; }
  .values-grid .value-card:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .final-cta-section { padding: 0 12px 40px; }
  .final-cta-container { border-radius: 28px; padding: 40px 24px; }
}
@media (max-width: 540px) {
  /* Phones: the hero fits its text, no empty space underneath */
  .story-hero { min-height: 0 !important; height: auto !important; border-radius: 28px; }
  .story-hero .faq-hero-content { padding: 40px 22px !important; }
  .story-hero h1 { font-size: clamp(44px, 11vw, 60px); line-height: var(--lh-display); }
  .story-section { padding: 60px 16px; }
  .story-photo { border-radius: 22px; }
  .story-photo-caption { left: 12px; bottom: 12px; font-size: 12px; }
  .purpose-card { border-radius: 22px; padding: 26px 22px; }
  .value-icon, .value-icon img { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-motion .story-reveal, .story-motion .story-photo img,
  .story-motion .story-photo-caption, .story-motion .story-facts li,
  .story-motion .purpose-logo .logo-circle, .story-motion .purpose-logo .logo-lens,
  .story-motion .value-icon {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
    stroke-dashoffset: 0 !important; transition: none !important;
  }
  .purpose-card, .value-card, .value-icon, .purpose-logo .logo-circle { transition: none !important; }
  .purpose-card:hover, .value-card:hover { transform: none; }
}
