/* ==========================================================================
   About page. Palette: ink #232a35, blue #2f5577, yellow #f2c94c on primary CTA only, ink #1f2427,
   muted #5a6770 (4.5:1 on white and on #f7f9fb).
   ========================================================================== */

/* ---- Section rhythm ---- */
#about > .gs-section,
#story > .gs-section,
#build-vs-buy > .gs-section,
.about-band > .gs-section,
#awards > .gs-section,
#client-quotes > .container {
  padding-top: 110px;
  padding-bottom: 110px;
}

#build-vs-buy, #client-quotes { background: var(--gensales-ice); }

/* ---- Shared title pattern: eyebrow, H2, subtitle ---- */
.about-title { margin-bottom: 56px; }

.about-eyebrow {
  margin: 0 0 12px;
  color: var(--gensales-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.about-eyebrow-light { color: var(--gensales-sky); }

.about-h2 {
  margin: 0;
  color: var(--gensales-black);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.about-subtitle {
  max-width: 640px;
  margin: 14px auto 0;
  color: #5a6770;
  font-size: 17px;
  line-height: 1.6;
}

/* ---- Hero ----
   Layout, scrim and type come from the shared .gs-split-hero (gensales.css).
   What stays here is the Denver skyline crop and the Clutch badge strip. */
.about-hero { background-position: center bottom !important; }

.about-hero-proof { margin: 0 0 30px; }

.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-hero-badges li { margin: 0 14px 10px 0; }

.about-hero-badges img {
  display: block;
  width: auto;
  height: 84px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.about-hero-proof-text {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.55;
}

/* ---- Intro: Anthony ---- */
.about-intro-row { display: flex; flex-wrap: wrap; align-items: center; }

.about-portrait-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto 30px;
  padding: 8px;
  border-radius: 14px;
  background: var(--gensales-ice);
  box-shadow: 0 24px 60px rgba(35, 42, 53, 0.16);
}

.about-portrait {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-portrait-tag {
  position: absolute;
  bottom: -22px;
  left: -18px;
  padding: 14px 22px;
  border-left: 4px solid var(--gensales-black);
  border-radius: 8px;
  background: var(--gensales-cream);
  box-shadow: 0 12px 30px rgba(35, 42, 53, 0.16);
}

.about-portrait-name {
  display: block;
  color: var(--gensales-black);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.about-portrait-role {
  display: block;
  margin-top: 2px;
  color: #5a6770;
  font-size: 13px;
}

.about-intro-copy { padding-left: 60px; }
.about-intro-copy p { color: var(--gensales-charcoal); font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.about-intro-copy .about-eyebrow { margin-bottom: 12px; color: var(--gensales-primary); font-size: 12px; line-height: 1.4; }
.about-intro-copy .about-h2 { margin-bottom: 24px; }
.about-intro-copy .about-mission { color: var(--gensales-primary); font-size: 19px; font-weight: 600; line-height: 1.55; }

.about-subhead {
  margin: 32px 0 12px;
  color: var(--gensales-black);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

/* ---- Stats ---- */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  margin: 90px 0 0;
  padding: 36px 0;
  border-top: 1px solid var(--gensales-line);
  border-bottom: 1px solid var(--gensales-line);
  list-style: none;
}

.about-stat {
  flex: 1 1 0;
  padding: 6px 20px;
  text-align: center;
}

.about-stat + .about-stat { border-left: 1px solid var(--gensales-line); }

.about-stat-value {
  display: block;
  color: var(--gensales-black);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.about-stat-label {
  display: block;
  margin-top: 8px;
  color: #5a6770;
  font-size: 13px;
  line-height: 1.45;
}

/* ---- Client logo band ---- */
.about-trust { padding: 50px 0; background: var(--gensales-ice); }
.about-trust .about-eyebrow { margin-bottom: 26px; color: #5a6770; }
/* Full colour, as on the homepage — overrides the global greyscale in gensales.css */
.about-trust .gs-logo-item img { opacity: 1; filter: none; }

/* ---- Story: step cards ---- */
.about-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--gensales-line);
  border-radius: 14px;
  background: var(--gensales-ice);
  box-shadow: 0 12px 34px rgba(35, 42, 53, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-step:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(35, 42, 53, 0.12); }

/* Chevron between cards in the same row, centred on the icon row */
.about-step:not(:nth-child(4n))::after {
  content: "\f105";
  position: absolute;
  top: 38px;
  right: -22px;
  color: var(--gensales-sky);
  font-family: FontAwesome;
  font-size: 18px;
}

/* Icon and date share one row so the card starts with its headline, not a
   stack of badge-over-date that pushed the body down. */
.about-step-head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.about-step-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 14px;
  border-radius: 50%;
  background: var(--gensales-black);
  box-shadow: 0 8px 20px rgba(35, 42, 53, 0.22);
  color: var(--gensales-cream);
  font-size: 20px;
}

.about-step-year {
  min-width: 0;
  color: var(--gensales-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.about-step-title {
  margin: 0 0 10px;
  color: var(--gensales-black);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.about-step-body p {
  margin: 0 0 10px;
  color: #5a6770;
  font-size: 14.5px;
  line-height: 1.7;
}

.about-step-body p:last-child { margin-bottom: 0; }

.about-step.is-current { border-color: var(--gensales-black); background: var(--gensales-black); }
.about-step.is-current .about-step-icon { background: var(--gensales-cream); color: var(--gensales-primary); box-shadow: none; }
.about-step.is-current .about-step-year { color: var(--gensales-sky); }
.about-step.is-current .about-step-body p { color: #fff; }

.about-thesis {
  max-width: 780px;
  margin: 70px auto 0;
  padding: 0;
  border: 0;
  text-align: center;
}

.about-thesis p {
  margin: 0;
  color: var(--gensales-black);
  font-size: 24px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
}

.about-thesis::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 24px auto 0;
  background: var(--gensales-black);
}

/* ---- GenSales vs. in-house ---- */
#build-vs-buy .gs-compare {
  border-color: var(--gensales-line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(35, 42, 53, 0.08);
}

#build-vs-buy .gs-compare th { padding: 20px 28px; }
#build-vs-buy .gs-compare td { padding: 18px 28px; vertical-align: middle; }
#build-vs-buy .gs-compare .about-cmp-gs { color: var(--gensales-black); font-weight: 600; background: var(--gensales-ice); }
#build-vs-buy .gs-compare .about-cmp-in { color: #5a6770; font-weight: 400; background: var(--gensales-cream); }
#build-vs-buy .gs-compare thead .about-cmp-gs { color: var(--gensales-primary); background: var(--gensales-ice); }
#build-vs-buy .gs-compare thead .about-cmp-in { color: var(--gensales-black); background: var(--gensales-ice); }
#build-vs-buy .gs-compare td .fa { width: 16px; margin-right: 12px; }
#build-vs-buy .gs-compare .about-cmp-gs .fa { color: var(--gensales-primary); }
#build-vs-buy .gs-compare .about-cmp-in .fa { color: #9aa5ac; }
#build-vs-buy .gs-compare-note { max-width: 720px; margin-right: auto; margin-left: auto; line-height: 1.7; }

/* ---- Customer band ---- */
.about-band-inner {
  display: flex;
  align-items: flex-start;
  max-width: 980px;
  margin: 0 auto;
}

.about-band-mark {
  flex: 0 0 auto;
  margin: -6px 40px 0 0;
  color: var(--gensales-primary);
  font-size: 84px;
  line-height: 1;
}

.about-band-body { flex: 1 1 auto; min-width: 0; }
.about-band-title { margin: 0; font-size: 36px; font-weight: 800; line-height: 1.2; }

.about-quote-carousel { margin-top: 28px; }

.about-band-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 170px;
  margin: 0;
  padding: 0;
  border: 0;
}

.about-band-quote .gs-band-lead { margin: 0 0 16px; font-size: 19px; font-style: italic; line-height: 1.65; text-align: left; }
.about-band-quote footer { text-align: left; }
.about-band-quote footer::before { content: none; }

.about-quote-carousel .owl-dots { margin-top: 18px; text-align: left; }

.about-quote-carousel .owl-dots .owl-dot span,
.about-quotes-carousel .owl-dots .owl-dot span { width: 10px; height: 10px; margin: 5px 6px; }
.about-quote-carousel .owl-dots .owl-dot span { background: rgba(255, 255, 255, 0.45); }
.about-quotes-carousel .owl-dots .owl-dot span { background: var(--gensales-line-strong); }

.about-quote-carousel .owl-dots .owl-dot.active span,
.about-quote-carousel .owl-dots .owl-dot:hover span,
.about-quotes-carousel .owl-dots .owl-dot.active span,
.about-quotes-carousel .owl-dots .owl-dot:hover span { background: var(--gensales-black); }

.about-quote-carousel .owl-dot:focus { outline: 2px solid #fff; outline-offset: 2px; }
.about-quotes-carousel .owl-dot:focus { outline: 2px solid var(--gensales-primary); outline-offset: 2px; }

/* ---- Awards ---- */
.about-awards-intro { color: #5a6770; font-size: 16px; line-height: 1.75; }

.about-award-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -12px;
  padding: 0;
  list-style: none;
}

.about-award {
  flex: 0 0 16.666%;
  max-width: 16.666%;
  padding: 0 12px 40px;
  text-align: center;
  transition: transform 0.22s ease;
}

.about-award:hover { transform: translateY(-4px); }

.about-award img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 110px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.about-award-caption { display: block; color: #5a6770; font-size: 12.5px; line-height: 1.45; }

.about-award-caption strong {
  display: block;
  margin-bottom: 2px;
  color: var(--gensales-black);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.about-platforms { margin-top: 30px; padding-top: 44px; border-top: 1px solid var(--gensales-line); }
.about-platforms .about-eyebrow { margin-bottom: 22px; color: #5a6770; }

/* ---- Client quotes carousel ---- */
.about-quotes-carousel .owl-stage { display: flex; }
.about-quotes-carousel .owl-item { display: flex; padding: 14px 4px 24px; }
.about-quotes-carousel .item { display: flex; width: 100%; }
.about-quotes-carousel .gs-quote-card { flex: 1 1 auto; margin: 0; transition: transform 0.22s ease, box-shadow 0.22s ease; }
.about-quotes-carousel .gs-quote-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(18, 28, 34, 0.12); }
.about-quotes-carousel .owl-dots { margin-top: 20px; }

.about-quotes-carousel .owl-nav button.owl-prev,
.about-quotes-carousel .owl-nav button.owl-next,
.about-quotes-carousel .owl-nav .owl-prev,
.about-quotes-carousel .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -46px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gensales-cream);
  box-shadow: 0 8px 22px rgba(35, 42, 53, 0.16);
  color: var(--gensales-black);
  font-size: 15px;
  line-height: 46px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.about-quotes-carousel .owl-nav .owl-prev { left: -64px; }
.about-quotes-carousel .owl-nav .owl-next { right: -64px; }

.about-quotes-carousel .owl-nav .owl-prev:hover,
.about-quotes-carousel .owl-nav .owl-next:hover,
.about-quotes-carousel .owl-nav .owl-prev:focus,
.about-quotes-carousel .owl-nav .owl-next:focus { background: var(--gensales-black); color: var(--gensales-white); }

.about-quotes-carousel .owl-nav .owl-prev:focus,
.about-quotes-carousel .owl-nav .owl-next:focus { outline: 2px solid var(--gensales-black); outline-offset: 2px; }

/* ---- Large tablet: arrows move inside the track ---- */
@media (max-width: 1299px) {
  .about-quotes-carousel .owl-nav .owl-prev { left: -8px; }
  .about-quotes-carousel .owl-nav .owl-next { right: -8px; }
}

/* ---- Small desktop: four story cards in a 970px container leave ~100px
   beside the icon, so "Mar 2026" would wrap at full size ---- */
@media (min-width: 992px) and (max-width: 1199px) {
  .about-step { padding-left: 20px; padding-right: 20px; }
  .about-step-icon { width: 44px; height: 44px; margin-right: 12px; font-size: 18px; }
  .about-step-year { font-size: 18px; }
}

/* ---- Tablet ---- */
@media (max-width: 991px) {
  /* Below md the cols carry no width, and inside the flex row they would
     shrink to their content — pin them full width so the portrait centres. */
  .about-intro-row > [class*="col-"] { width: 100%; }
  .about-portrait-card { max-width: 360px; }
  .about-intro-copy { padding-left: 15px; margin-top: 40px; }

  .about-stats { margin-top: 70px; padding: 10px 0; }
  .about-stat { flex: 0 0 33.333%; padding: 22px 12px; }
  .about-stat + .about-stat { border-left: 0; }

  .about-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-step:not(:nth-child(4n))::after { content: none; }

  .about-award { flex-basis: 33.333%; max-width: 33.333%; }
}

/* ---- Phone ---- */
@media (max-width: 767px) {
  #about > .gs-section,
  #story > .gs-section,
  #build-vs-buy > .gs-section,
  .about-band > .gs-section,
  #awards > .gs-section,
  #client-quotes > .container {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .about-title { margin-bottom: 38px; }
  .about-h2 { font-size: 26px; }
  .about-subtitle { font-size: 16px; }

  .about-hero-badges li { margin-right: 10px; }
  .about-hero-badges img { height: 68px; }

  .about-portrait-card { max-width: 300px; }
  .about-portrait-tag { left: 50%; bottom: -24px; min-width: 220px; transform: translateX(-50%); text-align: center; }
  .about-intro-copy p { font-size: 15px; }

  .about-stats { margin-top: 56px; }
  .about-stat { flex-basis: 50%; }
  .about-stat-value { font-size: 28px; }

  .about-steps { grid-template-columns: 1fr; gap: 20px; }
  .about-thesis { margin-top: 48px; }
  .about-thesis p { font-size: 19px; }

  .about-band-inner { flex-direction: column; align-items: center; text-align: center; }
  .about-band-mark { margin: 0 0 18px; font-size: 54px; }
  .about-band-title { font-size: 26px; }
  .about-band-quote { min-height: 250px; }
  .about-band-quote .gs-band-lead { font-size: 17px; text-align: center; }
  .about-band-quote footer, .about-quote-carousel .owl-dots { text-align: center; }

  .about-award { flex-basis: 50%; max-width: 50%; }
  .about-award img { height: 96px; }

  /* Arrows would sit on the cards at this width; the dots carry navigation */
  .about-quotes-carousel .owl-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .about-step, .about-award, .about-quotes-carousel .gs-quote-card,
  #build-vs-buy .gs-compare tbody tr { transition: none; }
  .about-step:hover, .about-award:hover, .about-quotes-carousel .gs-quote-card:hover { transform: none; }
  /* WOW hides .wow until it animates; show the cards immediately instead */
  .about-steps .wow { visibility: visible !important; animation: none !important; }
}
