/*
 * Momentum 2026 About Us page CSS
 * Standalone file: /m26-about.css?v=20261117a
 * Linked only from style momentum-2026-about (expected id 772).
 * Do not append this to the shared m26-momentum-2026.css, and do not
 * bump 765–771. Scoped to .m26-about.
 * Poster path rewritten from the mockup's heroes/video-poster.jpg
 * to the new liveSite upload /m26-about-video-poster.jpg.
 */

/*
 * Momentum 2026 About Us page
 * Scoped to .m26-about so it does not affect the homepage, service pages,
 * the m26-legacy light panel, the blog, or the contact page.
 *
 * liveSite facts for /about-us:
 *   software_page_id = 886
 *   Still on the Foundry theme (theme-foundrygreen.css) at the time of this mockup.
 *   Public HTML does not expose the desktop/mobile style IDs. Record them in
 *   admin before assigning a new 2026 style. Other Foundry interiors have used
 *   the 608/718 family; contact was 729 and the blog was 733.
 *
 * Key selectors from the live page (for restyling rather than replacing
 * generated or existing regions where possible):
 *   section.page-title.page-title-2   (old Foundry title band — hide once the photo hero is in place)
 *   .software_social_networking       (legacy share bar: Twitter, Facebook, LinkedIn, Google+)
 *   .progress-bars, .progress, .progress-bar, [data-progress]
 *   .image-tile, .image-tile img, .image-tile .title, .image-tile h5
 *   section.bg-primary (partner band), section.bg-secondary (testimonials slider)
 *   .testimonials, .testimonials .slides, .quote-author
 *
 * The staff / logo / video block currently lives in common region 353.
 * Testimonials and the partner band are in the Foundry style markup.
 */

/* Hide the old Foundry title band only — the 2026 hero also uses
   page-title / page-title-2, so it must be excluded. */
.m26-about section.page-title.page-title-2:not(.hero):not(.page-hero),
.m26-about .software_social_networking {
  display: none;
}

/* Slightly wider headline than a short service-page title */
.m26-about .hero.page-hero h1 {
  max-width: 16ch;
}

/* ---------- Intro ---------- */
.m26-about .about-intro {
  padding: 4.25rem 0 1.25rem;
}

.m26-about .intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.75fr);
  gap: 2.75rem;
  align-items: start;
}

.m26-about .intro-copy p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 44rem;
}

.m26-about .intro-copy p:last-child {
  margin-bottom: 0;
}

.m26-about .intro-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.m26-about .intro-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  font-weight: 600;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.m26-about .intro-links a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.m26-about .intro-links a:first-child {
  padding-top: 0;
}

.m26-about .intro-links a::after {
  content: "→";
  color: var(--accent-soft);
  font-weight: 700;
}

.m26-about .intro-links a:hover {
  color: #fff;
}

/* ---------- Clients we serve ---------- */
.m26-about .clients,
.m26-about .clients-section {
  padding: 3rem 0 4.25rem;
}

.m26-about .client-grid,
.m26-about .progress-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.m26-about .client-card,
.m26-about .progress {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  min-height: 100%;
  margin: 0;
}

.m26-about .client-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  color: var(--accent-soft);
  margin-bottom: 0.9rem;
}

.m26-about .client-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  display: block;
}

.m26-about .client-card h3,
.m26-about .progress-bar .title,
.m26-about .progress .title {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

/* If the live progress-bar markup is kept, hide the unlabeled percentage fill. */
.m26-about .progress-bar {
  width: auto !important;
  height: auto;
  background: transparent;
  box-shadow: none;
}

.m26-about .progress-bar::after,
.m26-about .progress::after {
  content: none;
}

/* ---------- Why Momentum (replaces the executive leadership block) ---------- */
.m26-about .why {
  padding: 1rem 0 4.5rem;
}

.m26-about .why .section-lead {
  margin-bottom: 2rem;
}

.m26-about .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.15rem;
}

.m26-about .stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.45rem;
  min-height: 100%;
}

.m26-about .stat b {
  display: block;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.5rem;
}

.m26-about .stat span {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.45rem;
  color: var(--text);
}

.m26-about .stat p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.m26-about .reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.m26-about .reason {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
}

.m26-about .reason h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--text);
}

.m26-about .reason p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* If region 353 still contains the old leadership tiles, hide them. Keep the video iframe. */
.m26-about .image-tile,
.m26-about .team-dir,
.m26-about img[src*="BMG_LOGO_RESIZED"],
.m26-about img[src*="jordan2"],
.m26-about img[src*="April_Little"],
.m26-about img[src*="STAFF-12"] {
  display: none;
}

/* ---------- Video ---------- */
.m26-about .video-section {
  padding: 1rem 0 4.5rem;
}

.m26-about .video-frame,
.m26-about .video-section iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.m26-about .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000 url("/m26-about-video-poster.jpg") center / cover no-repeat;
}

.m26-about .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: none;
}

/* ---------- Partner / mission band ---------- */
.m26-about .partner-band,
.m26-about section.bg-primary {
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(100, 149, 237, 0.18), transparent 55%),
    var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.m26-about .partner-band h2,
.m26-about section.bg-primary h3 {
  margin: 0 auto 1rem;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 800;
  text-transform: none;
  max-width: 22ch;
  color: var(--text);
}

.m26-about .partner-band p,
.m26-about section.bg-primary .lead {
  margin: 0 auto;
  color: var(--text-muted);
  max-width: 40rem;
  font-size: 1.0625rem;
}

.m26-about .partner-band address,
.m26-about section.bg-primary address {
  display: none;
}

.m26-about .hashtag,
.m26-about .partner-band .hashtag,
.m26-about section.bg-primary h3:last-of-type,
.m26-about section.bg-primary [style*="255, 255, 255"] {
  font-family: var(--font-accent);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  color: var(--accent-soft) !important;
  margin: 1.5rem 0 0;
  letter-spacing: 0.02em;
  font-weight: 400;
  background: none;
  max-width: none;
}

/* ---------- Testimonials ---------- */
.m26-about .testimonials-section,
.m26-about section.bg-secondary {
  padding: 4.5rem 0 5rem;
  background: var(--bg);
}

.m26-about .quote-grid,
.m26-about .testimonials .slides,
.m26-about .testimonials ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.m26-about .quote-card,
.m26-about .testimonials li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  height: 100%;
}

.m26-about .quote-card p,
.m26-about .testimonials .lead {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  flex: 1;
}

.m26-about .quote-card footer,
.m26-about .quote-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.m26-about .quote-card img,
.m26-about .quote-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.m26-about .quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.m26-about .quote-card strong,
.m26-about .quote-author h6 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.m26-about .quote-card span,
.m26-about .quote-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Hide leftover slider arrows if the Foundry slider markup remains. */
.m26-about .flex-direction-nav,
.m26-about .slider-arrow-controls .flex-direction-nav {
  display: none;
}

/* ---------- Related ---------- */
.m26-about .related {
  padding: 0 0 1rem;
}

.m26-about .related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.m26-about .related-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
}

.m26-about .related-row a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

/* Foundry get-started button that currently sits under the team photos */
.m26-about .team .btn-lg,
.m26-about a.btn-lg[href="/getstarted"] {
  display: none;
}

@media (max-width: 980px) {
  .m26-about .intro-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .m26-about .client-grid,
  .m26-about .progress-bars,
  .m26-about .stat-grid,
  .m26-about .quote-grid,
  .m26-about .testimonials .slides,
  .m26-about .testimonials ul {
    grid-template-columns: 1fr 1fr;
  }

  .m26-about .reason-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .m26-about .about-intro {
    padding-top: 3rem;
  }

  .m26-about .client-grid,
  .m26-about .progress-bars,
  .m26-about .stat-grid,
  .m26-about .reason-grid,
  .m26-about .quote-grid,
  .m26-about .testimonials .slides,
  .m26-about .testimonials ul {
    grid-template-columns: 1fr;
  }
}

/* Hide the required primary <system> slot; About Us has no form. */
.m26-about .m26-system-slot { display: none !important; }
