/* About Us page — intro, value pillars, long-form story with on-page
   navigation, CTA. Scoped to .about-page. */

.about-page {
  --ab-accent: var(--color-accent-1, #EB662B);
  --ab-accent-dark: var(--color-accent-1-dark, #CE5A25);
  --ab-dark: var(--color-dark-1, #05073C);
  --ab-muted: var(--color-text-muted, #4A4D63);
  --ab-border: #E7E6E6;
  --ab-surface: #FBF7F4;
}

.about-page .about-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-accent);
}

/* ---------- Buttons ---------- */

.about-page .about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-page .about-btn i {
  font-size: 13px;
}

.about-page .about-btn:hover {
  transform: translateY(-2px);
}

.about-page .about-btn.-primary {
  background: var(--ab-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(235, 102, 43, 0.28);
}

.about-page .about-btn.-primary:hover {
  background: var(--ab-accent-dark);
  color: #fff;
}

.about-page .about-btn.-ghost {
  border: 1px solid var(--ab-border);
  color: var(--ab-dark);
  background: #fff;
}

.about-page .about-btn.-ghost:hover {
  border-color: var(--ab-dark);
  color: var(--ab-dark);
}

.about-page .about-btn.-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.about-page .about-btn.-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- Intro ---------- */

.about-page .about-intro {
  padding: 90px 0 70px;
}

.about-page .about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.about-page .about-intro__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ab-dark);
}

.about-page .about-intro .about-intro__lead {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ab-muted);
}

.about-page .about-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.about-page .about-intro__media {
  position: relative;
  isolation: isolate; /* keeps the ::before frame behind the photo, not the page */
}

.about-page .about-intro__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(5, 7, 60, 0.14);
}

/* Decorative accent frame behind the photo */
.about-page .about-intro__media::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 55%;
  height: 60%;
  border-radius: 24px;
  background: var(--ab-surface);
  border: 1px solid rgba(235, 102, 43, 0.18);
  z-index: -1;
}

.about-page .about-intro__badge {
  position: absolute;
  left: -24px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(5, 7, 60, 0.14);
}

.about-page .about-intro__badge i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 102, 43, 0.1);
  color: var(--ab-accent);
  font-size: 18px;
}

.about-page .about-intro__badge strong {
  display: block;
  font-size: 16px;
  color: var(--ab-dark);
  line-height: 1.3;
}

.about-page .about-intro__badge span {
  display: block;
  font-size: 14px;
  color: var(--ab-muted);
}

/* ---------- Pillars ---------- */

.about-page .about-pillarsWrap {
  padding: 0 0 80px;
}

.about-page .about-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.about-page .about-pillar {
  padding: 30px 26px;
  border: 1px solid var(--ab-border);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-page .about-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 102, 43, 0.3);
  box-shadow: 0 18px 40px rgba(5, 7, 60, 0.08);
}

.about-page .about-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 102, 43, 0.1);
  color: var(--ab-accent);
  font-size: 20px;
  margin-bottom: 20px;
}

.about-page .about-pillar__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ab-dark);
}

.about-page .about-pillar .about-pillar__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ab-muted);
}

/* ---------- Story (rich text) ---------- */

.about-page .about-storyWrap {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--ab-surface) 0%, #fff 320px);
}

.about-page .about-story {
  max-width: 860px;
  margin: 0 auto;
}

.about-page .about-story.has-toc {
  max-width: none;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.about-page .about-toc__inner {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--ab-border);
  border-radius: 18px;
  background: #fff;
}

.about-page .about-toc {
  align-self: stretch;
}

.about-page .about-toc__label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-muted);
}

.about-page .about-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: calc(100vh - 380px);
  min-height: 160px;
  overflow-y: auto;
}

.about-page .about-toc__list a {
  display: block;
  padding: 7px 0 7px 14px;
  border-left: 2px solid var(--ab-border);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ab-muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-page .about-toc__list a:hover,
.about-page .about-toc__list a.is-active {
  color: var(--ab-accent);
  border-left-color: var(--ab-accent);
}

.about-page .about-toc__list a.is-active {
  font-weight: 600;
}

.about-page .about-toc__help {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ab-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.about-page .about-toc__help span {
  font-weight: 700;
  color: var(--ab-dark);
}

.about-page .about-toc__help a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ab-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.about-page .about-toc__help a:hover {
  color: var(--ab-accent);
}

.about-page .about-toc__help i {
  color: var(--ab-accent);
  width: 16px;
}

/* Content typography */
.about-page .about-content {
  font-size: 17px;
  line-height: 1.8;
}

/* The editor pasted a near-black inline color on every span — let the
   page's text colors apply instead so everything stays consistent. */
.about-page .about-content [style*="color"] {
  color: inherit !important;
}

.about-page .about-content p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 1em;
}

.about-page .about-content h2 {
  position: relative;
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--ab-border);
  font-size: 28px;
  line-height: 1.3;
  color: var(--ab-dark);
  scroll-margin-top: 110px;
}

.about-page .about-content h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: var(--ab-accent);
}

.about-page .about-content > :first-child {
  margin-top: 0;
}

.about-page .about-content strong {
  color: inherit;
}

/* Bullet lists → two-column checklist cards */
.about-page .about-content ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 20px 0 8px;
  padding: 0;
}

.about-page .about-content ul li {
  position: relative;
  margin: 0;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  background: #fff;
  font-size: 15.5px;
  line-height: 1.5;
  list-style: none;
}

.about-page .about-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 102, 43, 0.12);
  color: var(--ab-accent);
  font-size: 11px;
}

.about-page .about-content ul li p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* ---------- CTA ---------- */

.about-page .about-ctaWrap {
  padding: 20px 0 90px;
}

.about-page .about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 48px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(235, 102, 43, 0.35), transparent 50%),
    var(--ab-dark);
}

.about-page .about-cta__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.about-page .about-cta .about-cta__text {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.about-page .about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .about-page .about-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-page .about-story.has-toc {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .about-page .about-intro {
    padding: 60px 0 50px;
  }

  .about-page .about-intro__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-page .about-intro__badge {
    left: 16px;
    bottom: 16px;
  }

  .about-page .about-intro__media::before {
    display: none;
  }

  /* On-page nav is a desktop aid; hide it on smaller screens. */
  .about-page .about-story.has-toc {
    display: block;
    max-width: 860px;
  }

  .about-page .about-toc {
    display: none;
  }

  .about-page .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 32px;
  }
}

@media (max-width: 767px) {
  .about-page .about-intro__title {
    font-size: 28px;
  }

  .about-page .about-intro .about-intro__lead {
    font-size: 16px;
  }

  .about-page .about-pillarsWrap {
    padding-bottom: 50px;
  }

  .about-page .about-storyWrap {
    padding: 50px 0;
  }

  .about-page .about-content,
  .about-page .about-content p {
    font-size: 16px;
  }

  .about-page .about-content h2 {
    margin-top: 40px;
    font-size: 23px;
  }

  .about-page .about-content ul {
    grid-template-columns: 1fr;
  }

  .about-page .about-cta__title {
    font-size: 23px;
  }
}

@media (max-width: 575px) {
  .about-page .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-page .about-btn {
    width: 100%;
    justify-content: center;
  }
}
