/* Superseded by the shared header's immediate top return:
body.about-redesign-page { background: var(--ft-dark); }
*/

.about-redesign {
  --about-ink: #101418;
  --about-muted: #55646f;
  --about-green: var(--ft-green);
  --about-green-dark: var(--ft-green-dark);
  --about-rail: var(--ft-shell-pad, 48px);
  overflow: hidden;
  background: #fff;
  color: var(--about-ink);
}

.about-redesign *,
.about-redesign *::before,
.about-redesign *::after { box-sizing: border-box; }

/* Reset legacy theme section spacing before applying the reviewed rhythm. */
.about-redesign > section { padding: 0; }
.about-shell { width: 100%; margin: 0 auto; padding: 0 var(--about-rail); }

.about-hero {
  position: relative;
  min-height: 670px;
  background: var(--ft-dark, #050708);
}
/* The supplied raster has a noisy near-black edge. Feather its empty left
   margin into the shared header colour while preserving the reviewed crop. */
.about-hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1443.85px;
  height: 750px;
  background: url("../img/redesign/about/aboutus_bg.svg") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%);
  mask-image: linear-gradient(90deg, transparent, #000 18%);
  pointer-events: none;
  content: "";
}
.about-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ft-dark, #050708), rgba(5, 7, 8, 0) 120px),
    linear-gradient(90deg, rgba(5, 7, 8, .45) 0%, rgba(5, 7, 8, .25) 38%, transparent 70%);
  pointer-events: none;
  content: "";
}
.about-hero-inner { position: relative; z-index: 1; min-height: 670px; }
.about-hero-copy { width: min(760px, 58%); padding: 120px 0 160px; color: #fff; }
.about-hero-copy h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.025em;
}
.about-hero-copy > p {
  max-width: 680px;
  margin: 18px 0 30px;
  color: #cbd3d0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
.about-button,
.about-button:visited {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--about-green);
  color: var(--ft-on-green) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
}
.about-button:hover { background: var(--about-green-dark); color: var(--ft-on-green) !important; }
.about-button:focus-visible { outline: 3px solid var(--about-green); outline-offset: 4px; }

.about-metrics { position: relative; z-index: 2; margin-top: -62px; }
.about-metrics-grid {
  display: grid;
  width: calc(100% - var(--about-rail) * 2);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  padding: 0;
  border: 1px solid #edf1ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(17, 36, 32, .04);
}
.about-metric { display: flex; min-width: 0; min-height: 136px; align-items: center; gap: 18px; padding: 28px 38px; }
.about-metric + .about-metric { border-left: 1px solid #edf1ef; }
.about-metric .about-metric-icon { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; margin: 0; border-radius: 50%; background: #eff9f5; }
.about-metric-icon img { display: block; width: 28px; height: 28px; padding: 0; border-radius: 0; background: none; object-fit: contain; }
.about-metric strong,
.about-metric span { display: block; }
.about-metric strong { color: var(--ft-green-text); font-size: 25px; line-height: 1.2; }
.about-metric div > span { margin-top: 7px; color: #6b726e; font-size: 16px; line-height: 1.4; }

.about-redesign .about-story { padding: 92px 0 36px; }
.about-story h2,
.about-purpose-column > h2,
.about-block-title {
  margin: 0 0 18px;
  color: var(--about-ink);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.about-prose p { margin: 0; color: #454b4d; font-size: 18px; line-height: 1.35; }
.about-redesign .about-purpose { padding: 30px 0 36px; }
.about-purpose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.about-purpose-column { min-width: 0; }
.about-purpose-card,
.about-fairtile-card,
.about-quote { margin: 0; border: 1px solid #edf0ee; border-radius: 6px; background: #fff; box-shadow: 0 3px 16px rgba(17, 36, 32, .04); }
.about-purpose-card { display: flex; min-height: 232px; align-items: flex-start; gap: 18px; padding: 26px 24px; }
.about-purpose-card img { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
.about-purpose-card p,
.about-fairtile-copy > p { color: #242d34; font-size: 18px; line-height: 1.8; }
.about-purpose-card p { margin: 0; }
.about-fairtile-copy > p { margin: 20px 0 0; }
.about-redesign .about-fairtile { padding: 0 0 52px; }
.about-fairtile-card { display: grid; min-height: 210px; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; padding: 26px 24px; }
.about-fairtile-copy > img { width: min(280px, 50%); height: auto; }
.about-fairtile-card > .ds-btn { white-space: nowrap; }
.about-redesign .about-team { padding: 6px 0 58px; }
.about-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-team-card { min-width: 0; min-height: 240px; margin: 0; padding: 18px; border-radius: 5px; background: #f2f7f5; }
.about-team-card img { display: block; width: 50px; height: 50px; margin-bottom: 16px; padding: 12px; border-radius: 5px; background: #e4f5ed; object-fit: contain; }
.about-team-card h3 { margin: 0; color: var(--about-ink); font-size: 17px; font-weight: 500; line-height: 1.4; }
.about-team-card p { margin: 14px 0 0; color: #4b5458; font-size: 16px; line-height: 1.55; }
.about-redesign .about-quotes { padding: 0 0 96px; }
.about-quotes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.about-quote { position: relative; min-height: 150px; padding: 24px 24px 22px 58px; }
.about-quote img { position: absolute; top: 24px; left: 18px; width: 28px; height: 28px; }
.about-quote p { margin: 0; color: var(--about-ink); font-size: 17px; line-height: 1.8; }
.about-quote footer { margin-top: 12px; color: #555; font-size: 16px; font-weight: 400; }

@media (min-width: 1200px) and (max-width: 1399px) {
  .about-redesign { --about-rail: 32px; }
}
@media (max-width: 991px) {
  .about-redesign { --about-rail: 32px; }
  .about-hero::before { right: auto; left: 62%; transform: translateX(-62%); }
  .about-hero-copy { width: 66%; }
  .about-hero-copy > p { font-size: 18px; }
  .about-metric { gap: 12px; padding: 24px 16px; }
  .about-metric .about-metric-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .about-metric-icon img { width: 24px; height: 24px; }
  .about-metric strong { font-size: 23px; }
  .about-metric div > span { font-size: 14px; }
  .about-purpose-card { height: calc(100% - 48px); padding: 24px 18px; gap: 12px; }
  .about-purpose-card p,
  .about-fairtile-copy > p { font-size: 16px; line-height: 1.65; }
  .about-team-card p { font-size: 15px; }
  .about-fairtile-card { gap: 24px; }
}
/* Mobile About layout: team artwork, concise intro and lower CTA. */
.about-intro-mobile {
  display: none;
}

@media (max-width: 767px) {
  .about-redesign {
    --about-rail: 16px;
  }
  .about-hero, .about-hero-inner {
    min-height: 600px;
  }
  .about-hero::before {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
    background: url("../img/redesign/about/aboutus_bg.svg") 72% center / cover no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .about-hero::after {
    background: linear-gradient(rgba(5, 7, 8, 0.5) 0%, rgba(5, 7, 8, 0.38) 58%, rgba(5, 7, 8, 0.08) 100%);
    inset: 0;
    height: 100%;
  }
  .about-hero-copy {
    width: 100%;
    padding: 52px 0 68px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 600px;
  }
  .about-hero-copy h1 {
    font-size: 28px;
    line-height: 1.2;
  }
  .about-hero-copy > p {
    font-size: 16px;
    line-height: 1.55;
    margin-inline: auto;
    max-width: 400px;
    margin-block: 12px 16px;
  }
  .about-metrics {
    margin-top: -42px;
  }
  .about-metrics-grid, .about-purpose-grid, .about-team-grid, .about-quotes-grid {
    grid-template-columns: 1fr;
  }
  .about-metrics-grid {
    border-radius: 18px;
  }
  .about-metric {
    min-height: 94px;
    padding: 20px 24px;
    gap: 18px;
  }
  .about-metric + .about-metric {
    border-top: 1px solid rgb(237, 241, 239);
    border-left: 0;
  }
  .about-redesign .about-story {
    padding: 64px 0 28px;
  }
  .about-prose p {
    font-size: 17px;
    line-height: 1.5;
  }
  .about-redesign .about-purpose {
    padding: 20px 0 40px;
  }
  .about-purpose-grid {
    gap: 30px;
  }
  .about-purpose-card {
    min-height: 0;
    height: auto;
    padding: 24px;
  }
  .about-fairtile-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .about-fairtile-copy > img {
    width: min(245px, 85%);
    display: block;
    margin-inline: auto;
  }
  .about-team-card {
    min-height: 0;
    padding: 24px;
  }
  .about-team-card p {
    font-size: 16px;
  }
  .about-quotes-grid {
    gap: 20px;
  }
  .about-quote p {
    font-size: 16px;
    line-height: 1.6;
  }
  .about-quote footer {
    font-size: 14px;
  }
  .about-redesign .about-quotes {
    padding-bottom: 64px;
  }
  .about-hero-inner {
    padding-bottom: 0;
  }
  .about-fairtile-card > .ds-btn {
    align-self: stretch;
    justify-content: center;
  }
  .about-intro-desktop {
    display: none;
  }
  .about-intro-mobile {
    display: inline;
  }
  .about-hero-copy > .ds-btn {
    align-self: center;
    margin-top: auto;
  }
}

@media (max-width: 359px) {
  .about-hero-copy {
    padding-top: 32px;
  }
  .about-hero-copy h1 {
    font-size: 25px;
  }
  .about-hero-copy > p {
    font-size: 15px;
    line-height: 1.5;
    margin-block: 12px;
  }
}
