/* ==========================================================================
   About Us  (/about-us)
   ========================================================================== */

/* Live loads Manrope 400 from Google Fonts at runtime (missing from the self-hosted fonts.css).
   TODO(shared): self-host as /assets/fonts/Manrope-400.woff2 in fonts.css and drop this. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://fonts.gstatic.com/s/manrope/v20/xn7_YHE41ni1AdIRqAuZuw1Bx9mbZk79FN_C-bk.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* extra reveal directions used on this page (site.js handles any [data-reveal]) */
.js [data-reveal="up40"]  { transform: translateY(40px); }
.js [data-reveal="up150"] { transform: translateY(150px); }
.js [data-reveal="up80"]  { transform: perspective(1200px) translateY(80px); }
.js [data-reveal].is-in { transform: none; }

/* ---------- Hero ---------- */
.ab-hero { padding: 200px 40px 160px; display: flex; justify-content: center; }
.ab-hero__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; overflow: hidden; }
.ab-hero__title { width: 100%; max-width: 698px; font: 600 64px/64px var(--f-head); letter-spacing: -0.04em; color: var(--ink-2); }
.ab-hero__sub { font: italic 500 24px/28.8px var(--f-head); letter-spacing: -0.02em; color: var(--green); }
.ab-hero__sub em { font-style: italic; }

/* ---------- Mission / Values / Promise (dark teal) ---------- */
.ab-found { position: relative; background: #225e5b; padding: 140px 80px; display: flex; justify-content: center; }
.ab-found__badge {
  position: absolute; top: -50px; left: 50%; margin-left: -51.5px; width: 103px; height: 103px; padding: 16px;
  border-radius: 200px; background: var(--white); box-shadow: rgba(0, 0, 0, 0.25) 0 1px 2px 0; overflow: hidden;
}
.ab-found__badge img { width: 100%; height: 100%; object-fit: cover; }
.ab-found__inner { width: 100%; max-width: 1040px; display: flex; flex-direction: column; gap: 90px; }

.ab-h2 { font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--white); max-width: 500px; }
.ab-lead { font: 400 18px/27px var(--f-body); color: var(--white); }

.ab-mission { display: flex; flex-direction: column; gap: 40px; }
.ab-mission__head { display: flex; flex-direction: column; gap: 10px; }
.ab-mission__head .ab-h2 { white-space: pre; max-width: none; }
.ab-mission__cards { display: flex; gap: 20px; }
.mcard { flex: 1 1 0; min-width: 0; background: var(--white); border-radius: 12px; padding: 30px; display: flex; flex-direction: column; gap: 30px; overflow: hidden; }
.mcard__head { display: flex; flex-direction: column; gap: 10px; }
.mcard__eyebrow { font: 400 14px/21px var(--f-body); color: var(--green); }
.mcard__title { font: 500 24px/28.8px var(--f-head); letter-spacing: -0.02em; color: var(--ink-2); }
.mcard__text { font: 400 16px/24px var(--f-body); color: var(--ink-2); }

.ab-values, .ab-promise { display: flex; flex-direction: column; gap: 24px; }
.ab-block__head { display: flex; align-items: center; }
.ab-values__grid { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 20px; }
.value { background: var(--white); border-radius: 12px; box-shadow: inset 0 0 0 1px #f0f0f0; padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; overflow: hidden; }
.value { align-self: start; height: 100%; }
.value--3 { height: auto; }
.value__icon { width: 29px; height: 29px; flex: none; color: var(--green); }
.value__title { font: 500 22px/28.6px var(--f-head); letter-spacing: -0.02em; color: var(--green); }
.value__text { font: 400 16px/24px var(--f-body); color: var(--ink-3); }

.ab-promise__box { position: relative; background: var(--teal-ink); padding: 30px; box-shadow: inset 6px 0 0 0 #d5ed71; }
.ab-promise__box p { font: 400 23px/34.5px var(--f-body); color: var(--white); }

/* ---------- Why Codefi ---------- */
.ab-why { background: #f8f8fa; padding: 100px 40px; display: flex; justify-content: center; overflow: hidden; }
.ab-why__inner { width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 60px; }
.ab-why__title { max-width: 700px; font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--green); }
.arow { display: flex; align-items: center; justify-content: center; gap: 32px; min-height: 250px; border-radius: 30px; }
.arow__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.arow__title { align-self: stretch; font: 500 34px/44.2px var(--f-head); letter-spacing: -0.04em; color: var(--ink); }
.arow__title.green { color: var(--green); }
.ab-ink5 { color: var(--ink); }
.arow__text { font: 400 16px/24px var(--f-body); color: var(--gray); }
.arow__media { flex: 1 1 0; min-width: 0; height: 250px; border-radius: 20px; overflow: hidden; }
.arow__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.achips { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; overflow: hidden; }
.achip { background: var(--chip); border-radius: 12px; padding: 10px 18px; font: 400 18px/27px var(--f-body); color: var(--ink-3); }

/* ---------- Team ---------- */
.ab-team { position: relative; padding: 120px 80px; display: flex; flex-direction: column; align-items: center; gap: 56px; overflow: hidden; background: var(--white); }
.ab-team__bg { position: absolute; z-index: 0; left: -948px; right: -790px; bottom: -169px; aspect-ratio: 0.906667; opacity: .1; filter: blur(1px); pointer-events: none; }
.ab-team__bg img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ab-team__head { position: relative; width: 847px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ab-team__title { font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--ink-2); }
.ab-team__sub { font: 400 18px/27px var(--f-body); color: var(--ink-2); }
.ab-team__grid { position: relative; width: 100%; max-width: 1040px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.member { background: var(--white); border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.25) 0 1px 2px 0; display: flex; flex-direction: column; overflow: hidden; }
.member__photo { position: relative; aspect-ratio: 0.8; }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__info { height: 107px; flex: none; padding: 12px 20px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; text-align: center; overflow: hidden; }
.member__name { width: 100%; font: 500 24px/32.4px var(--f-head); letter-spacing: -0.7px; color: var(--teal); }
.member__role { width: 100%; font: 400 14px/21.56px "Manrope", var(--f-body); letter-spacing: 0.1px; color: rgb(124, 127, 133); }
/* the border sits above the photo, like Framer's overlay border */
.member { position: relative; }
.member::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--mint); pointer-events: none; }

/* footer: Framer highlights the current page link (shared footer has no current state) */
.page-about .footer__links a[href="/about-us"] { color: var(--green-dark); }

/* ---------- See What's Possible ---------- */
.ab-cta { background: var(--teal); padding: 100px 40px; display: flex; justify-content: center; overflow: hidden; }
.ab-cta__inner { width: 100%; max-width: 1000px; display: flex; align-items: center; justify-content: space-between; }
.ab-cta__title { width: 38%; max-width: 500px; font: 600 44px/52.8px var(--f-head); letter-spacing: -0.04em; color: var(--white); }
.ab-cta__side { width: 400px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; overflow: hidden; }
.ab-cta__side p { font: 400 18px/27px var(--f-body); color: var(--white); }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1199.98px) {
  .ab-hero { padding: 140px 30px 120px; }
  .ab-hero__inner { max-width: none; }
  .ab-hero__title { max-width: 600px; font-size: 49px; line-height: 49px; }
  .ab-hero__sub { font: italic 400 22px/26.4px var(--f-head); letter-spacing: -0.02em; }
  .ab-hero__sub em { font-family: var(--f-inter); font-feature-settings: var(--inter-features); }

  .ab-found { padding: 100px 25px; }
  .ab-h2 { font-size: 38px; line-height: 45.6px; }
  .ab-h2--w240 { width: 240px; }
  .ab-lead { font-size: 17px; line-height: 25.5px; }
  .mcard { padding: 24px; }
  .mcard__eyebrow { font-size: 13px; line-height: 19.5px; }
  .mcard__title { font-size: 22px; line-height: 26.4px; }
  .mcard__text { font-size: 15px; line-height: 22.5px; }
  .ab-values__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; align-content: center; gap: 20px; }
  .value { width: 48%; height: auto; align-self: stretch; padding: 16px 24px; }
  .value--1 { justify-content: center; }
  .value--3 { align-self: auto; height: 185px; }
  .value__title { font-size: 20px; line-height: 26px; }
  .value__text { font-size: 15px; line-height: 22.5px; }
  .ab-promise__box p { font-size: 17px; line-height: 25.5px; }

  .ab-why { padding: 80px 30px; }
  .ab-why__inner { gap: 30px; }
  .ab-why__title { font-size: 38px; line-height: 45.6px; }
  .arow__body { flex: 10 1 0; }
  .arow__media { flex: 7 1 0; } /* Framer splits these rows 10:7 on tablet */
  .arow__title { font-size: 30px; line-height: 39px; }
  .arow__text { font-size: 15px; line-height: 22.5px; }
  .achip { font-size: 17px; line-height: 25.5px; }

  .ab-team { padding: 100px 25px; }
  .ab-team__title { font-size: 38px; line-height: 45.6px; }
  .ab-team__sub { font-size: 17px; line-height: 25.5px; }
  .ab-team__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
  .member { width: 365px; flex: none; }

  .ab-cta { padding: 80px 30px; }
  .ab-cta__title { font-size: 38px; line-height: 45.6px; }
  .ab-cta__side p { font-size: 17px; line-height: 25.5px; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 809.98px) {
  .ab-hero { padding: 120px 20px 115px; }
  .ab-hero__title { max-width: 540px; font-size: 38px; line-height: 38px; }
  .ab-hero__sub { font-size: 20px; line-height: 24px; }

  .ab-found { padding: 80px 25px 60px; }
  .ab-h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.09em; }
  .ab-h2--w240 { width: 100%; }
  .ab-mission__head .ab-h2 { white-space: pre-wrap; width: 100%; }
  .ab-lead { font-size: 16px; line-height: 24px; }
  .ab-mission__cards { flex-direction: column; }
  .mcard { flex: none; padding: 30px; }
  .mcard__eyebrow { font-size: 12px; line-height: 18px; }
  .mcard__title { font-size: 20px; line-height: 24px; }
  .mcard__text { font-size: 14px; line-height: 21px; }
  .ab-block__head { flex-direction: column; align-items: center; }
  .ab-values__grid { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .value, .value--3 { width: 100%; height: auto; align-self: auto; padding: 16px; }
  .value--1 { justify-content: flex-start; }
  .value__title { font-size: 18px; line-height: 23.4px; }
  .value__text { font-size: 14px; line-height: 21px; }
  .ab-promise__box p { font-size: 16px; line-height: 24px; }

  .ab-why { padding: 60px 20px; }
  .ab-why__inner { gap: 60px; }
  .ab-why__title { max-width: none; font-size: 30px; line-height: 36px; letter-spacing: -0.09em; text-align: center; }
  .arow { flex-direction: column; gap: 4px; padding: 0 20px; min-height: 0; }
  .arow__body { flex: none; width: 100%; padding: 20px 0 40px; }
  .arow__media { flex: none; width: 100%; }
  .arow--2 .arow__media { order: 1; }
  .arow--3 .arow__media { order: -1; }
  .arow__title { font-size: 24px; line-height: 31.2px; }
  .arow__text { font-size: 14px; line-height: 21px; }
  .achip { font-size: 16px; line-height: 24px; }
  .arow--1 .achips, .arow--2 .achips { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; }
  .arow--3 .achips { align-items: flex-start; }
  .arow--1 .achip { font-size: 14px; line-height: 21px; }
  .arow--1 .achip:first-child { align-self: stretch; }

  .ab-team { padding: 60px 16px; }
  .ab-team__head { width: 100%; }
  .ab-team__title { font-size: 30px; line-height: 36px; letter-spacing: -0.09em; }
  .ab-team__sub { font-size: 16px; line-height: 24px; }
  .ab-team__grid { flex-direction: column; flex-wrap: nowrap; gap: 12px; }
  .member { width: 100%; }

  .ab-cta { padding: 60px 20px; }
  .ab-cta__inner { flex-direction: column; justify-content: flex-start; gap: 20px; }
  .ab-cta__title { width: 60%; font-size: 30px; line-height: 36px; letter-spacing: -0.09em; text-align: center; }
  .ab-cta__side { width: 100%; max-width: 400px; align-items: center; text-align: center; }
  .ab-cta__side p { font-size: 16px; line-height: 24px; }
}

/* Framer keeps will-change:transform on its appear-animated boxes, which changes text rasterisation */
.page-about [data-reveal] { will-change: transform; }
