/* ==================================================
   About Us page (about.html only)
   Brand: #FF6700 accent, #16181D charcoal, light neutrals
   ================================================== */

:root {
  --ab-accent: #ff6700;
  --ab-accent-hover: #e65c00;
  --ab-accent-tint: rgba(255, 103, 0, 0.1);
  --ab-charcoal: #16181d;
  --ab-text: #1f2329;
  --ab-muted: #5f6670;
  --ab-light: #f6f7f9;
  --ab-border: #e8eaed;
  --ab-shadow: 0 8px 28px rgba(20, 25, 35, 0.06);
}

/* charcoal behind the footer's rounded corners, as on the homepage */
#wrapper {
  background: var(--ab-charcoal);
}

/* ---------- shared section pieces ---------- */
.about-intro,
.about-values,
.about-process,
.about-team {
  padding: 90px 0;
}

.about-intro,
.about-process {
  background: #ffffff;
}

.about-values,
.about-team {
  background: var(--ab-light);
}

.about-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ab-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-intro h2,
.about-process h2,
.about-heading h2 {
  margin-bottom: 16px;
  color: var(--ab-text);
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.about-intro p,
.about-process p {
  max-width: 540px;
  color: var(--ab-muted);
  font-size: 17px;
  line-height: 1.7;
}

.about-heading {
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.about-heading h2 {
  margin-bottom: 0;
}

/* ---------- intro ---------- */
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.about-facts li {
  padding: 16px 18px;
  background: var(--ab-light);
  border: 1px solid var(--ab-border);
  border-left: 3px solid var(--ab-accent);
  border-radius: 10px;
}

.about-facts strong {
  display: block;
  color: var(--ab-text);
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.about-facts span {
  color: var(--ab-muted);
  font-size: 14px;
}

.about-media {
  position: relative;
  margin: 0;
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(20, 25, 35, 0.14);
}

.about-media figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  color: var(--ab-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(20, 25, 35, 0.14);
}

.about-media figcaption .fa {
  margin-right: 6px;
  color: var(--ab-accent);
}

/* ---------- value cards ---------- */
.about-card {
  height: 100%;
  padding: 30px 26px;
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  box-shadow: var(--ab-shadow);
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: var(--ab-accent);
  font-size: 21px;
  background: var(--ab-accent-tint);
  border-radius: 12px;
}

.about-card h3,
.about-steps h3,
.about-member h3 {
  margin-bottom: 8px;
  color: var(--ab-text);
  font-size: 19px;
  line-height: 1.3;
}

.about-card p,
.about-steps p {
  margin: 0;
  color: var(--ab-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- how it works ---------- */
.about-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ab-border);
}

.about-steps li:first-child {
  padding-top: 0;
}

.about-steps li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-step-num {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  background: var(--ab-charcoal);
  border-radius: 50%;
}

/* ---------- team ---------- */
.about-member {
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 16px;
  box-shadow: var(--ab-shadow);
}

.about-member img,
.about-member-initials {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-member-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--title-font);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: 2px;
  background: linear-gradient(160deg, #2a2e36 0%, var(--ab-charcoal) 100%);
}

.about-member-body {
  padding: 20px 22px 22px;
  text-align: center;
}

.about-member h3 {
  margin-bottom: 2px;
}

.about-member-body > span {
  display: block;
  color: var(--ab-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- call to action ---------- */
/* the CTA band sits on charcoal, so the footer needs no top gap here */
.site-footer {
  margin-top: 0;
}

.about-cta {
  padding: 0;
  background: var(--ab-light);
}

.about-cta-inner {
  padding: 80px 24px;
  text-align: center;
  background: var(--ab-charcoal);
}

/* full-bleed charcoal band, matching the homepage CTA */
.about-cta .container {
  max-width: none;
  padding: 0;
}

.about-cta h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.2;
}

.about-cta p {
  max-width: 540px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* "a.btn-main" matches the specificity of the theme's a.btn-main:active /
   a.btn-main:focus reset (style.css), so the size holds in every state */
.about-cta-actions a.btn-main {
  padding: 13px 28px;
  font-size: 15px;
}

.about-cta-actions a.btn-main .fa {
  margin-right: 6px;
}

a.btn-main.about-btn-ghost,
a.btn-main.about-btn-ghost:visited {
  background: transparent;
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}

a.btn-main.about-btn-ghost:hover {
  background: #ffffff;
  color: var(--ab-charcoal);
  box-shadow: inset 0 0 0 1.5px #ffffff, 0 8px 18px rgba(0, 0, 0, 0.2);
}

a.btn-main.about-btn-ghost:active {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ab-charcoal);
  box-shadow: inset 0 0 0 1.5px #ffffff;
}

.about-cta a.btn-main:focus-visible {
  box-shadow: 0 0 0 2px var(--ab-charcoal), 0 0 0 4px var(--ab-accent);
}

.about-cta-link {
  display: inline-block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-cta-link:hover {
  color: #ffffff;
}

.about-cta-link:focus-visible {
  outline: 2px solid var(--ab-accent);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .about-intro,
  .about-values,
  .about-process,
  .about-team {
    padding: 70px 0;
  }

  .about-intro p,
  .about-process p,
  .about-facts {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .about-intro,
  .about-values,
  .about-process,
  .about-team {
    padding: 50px 0;
  }

  .about-intro h2,
  .about-process h2,
  .about-heading h2 {
    font-size: 28px;
  }

  .about-intro p,
  .about-process p {
    font-size: 16px;
  }

  .about-heading {
    margin-bottom: 30px;
  }

  .about-facts strong {
    font-size: 17px;
  }

  .about-facts li {
    padding: 14px;
  }

  .about-card {
    padding: 24px 22px;
  }

  /* two team cards per row on phones */
  .about-team .row {
    --bs-gutter-x: 14px;
  }

  .about-member-body {
    padding: 14px 10px 16px;
  }

  .about-member h3 {
    font-size: 16px;
  }

  /* room for a two-line role, so every card is the same height */
  .about-member-body > span {
    min-height: 2.9em;
    font-size: 12.5px;
  }

  .about-member-initials {
    font-size: 40px;
  }

  .about-media figcaption {
    position: static;
    max-width: none;
    margin-top: 12px;
    box-shadow: none;
    border: 1px solid var(--ab-border);
  }

  .about-cta-inner {
    padding: 56px 20px;
  }

  .about-cta h2 {
    font-size: 27px;
  }

  .about-cta p {
    font-size: 16px;
  }

  .about-cta-actions a.btn-main {
    width: 100%;
    text-align: center;
  }
}
