/* About page.
   Loaded after base.css, nav.css and home.css, so it reuses their shared parts:
   .btn, .text-link, .section-head, .icon-box, .industries / .industry cards,
   .contact-cta, the footer and .back-to-top.
   Only the styles that are new to this page live here.
   Sections use .about-section (not .page-section) so the spacing on the shared
   components below applies exactly as written. */


/* ---------- Breadcrumb ---------- */

.breadcrumb {
  padding: 0 var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  min-height: 48px;
  font-size: 13px;
  color: var(--text);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 10px;
  color: #b6bdc9;
}

.breadcrumb a {
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb [aria-current="page"] {
  font-weight: 500;
  color: var(--ink);
}


/* ---------- Hero ---------- */

.about-hero {
  height: clamp(240px, 30vw, 380px);
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0) 60%),
    url("/assets/about-hero-image.jpg") center / cover no-repeat;
}

/* The title box overlaps the bottom edge of the image. */
.about-hero__wrap {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding-inline: var(--gutter);
}

.about-hero__box {
  position: relative;
  width: min(100%, 600px);
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(115deg, rgba(35, 88, 240, 0.97), rgba(35, 88, 240, 0.88));
  color: #fff;
  box-shadow: 0 16px 44px rgba(20, 34, 68, 0.18);
}

.about-hero__box::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0eb39a 0.85px, transparent 1px);
  background-size: 9px 9px;
  content: "";
  mask-image: linear-gradient(to right, transparent 40%, #000 100%);
  opacity: 0.35;
  pointer-events: none;
}

.about-hero__box > * {
  position: relative;
}

.about-hero__label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(100deg, #ffffff, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.about-hero__title {
  padding-bottom: 0.1em;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.about-hero__sub {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(247, 249, 255, 0.86);
}


/* ---------- Shared section layout ---------- */

.about-section {
  padding: clamp(56px, 9vh, 96px) var(--gutter);
}

.about-section--tint {
  background: #f8f9fb;
}

.about-section__inner {
  max-width: 1200px;
  margin-inline: auto;
}

.about-section .section-head__label {
  margin-bottom: 20px;
}

.about-label {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(100deg, #2358f0, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}


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

.about-intro {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.about-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d6dbe4;
  border-radius: 50%;
  background: #fff;
  color: #344056;
  font-size: 16px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.about-social a:hover {
  transform: translateY(-2px);
  border-color: #2358f0;
  background: #2358f0;
  color: #fff;
}

.about-social img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.about-social a:hover img {
  filter: brightness(0) invert(1);
}

.about-intro__statement {
  max-width: 22em;
  padding-bottom: 0.1em;
  font-size: clamp(26px, 2.9vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-intro__text {
  max-width: 46em;
  margin-top: 28px;
}

.about-intro__text p {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--text);
}

.about-intro__text p + p {
  margin-top: 18px;
}


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

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.pillar {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}

.pillar::before {
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(100deg, #2358f0, #0eb39a);
  content: "";
}

.pillar__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.pillar__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}


/* ---------- Mission & Vision ---------- */

.mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.mv__card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid var(--line);
  background: #fff;
}

.mv__title {
  padding-bottom: 0.1em;
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mv__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}

.mv__card--blue {
  border-color: #2358f0;
  background: linear-gradient(115deg, #2358f0, #1f4fd6);
}

.mv__card--blue::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0eb39a 0.85px, transparent 1px);
  background-size: 9px 9px;
  content: "";
  mask-image: linear-gradient(to right, transparent 40%, #000 100%);
  opacity: 0.3;
  pointer-events: none;
}

.mv__card--blue > * {
  position: relative;
}

.mv__card--blue .about-label {
  background: linear-gradient(100deg, #ffffff, #0eb39a);
  -webkit-background-clip: text;
  background-clip: text;
}

.mv__card--blue .mv__title {
  color: #fff;
}

.mv__card--blue .mv__text {
  color: rgba(247, 249, 255, 0.86);
}


/* ---------- Values (extends .industry) ---------- */

.values .industry__text {
  margin-top: 12px;
}


/* ---------- What we do ---------- */

.focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.focus__title {
  padding-bottom: 0.1em;
  font-size: clamp(26px, 2.64vw, 34px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.focus__text {
  max-width: 30em;
  margin-top: 18px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--text);
}

.focus__action {
  margin-top: 28px;
}

.focus__list {
  border: 1px solid var(--line);
  background: #fff;
}

.focus__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  transition: background-color 0.2s ease;
}

.focus__list li + li .focus__row {
  border-top: 1px solid var(--line);
}

.focus__row:hover {
  background: #fbfcfe;
}

.focus__row-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.2s ease;
}

.focus__row-text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.focus__row:hover .focus__row-title {
  color: var(--accent);
}

.focus__row svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.focus__row:hover svg {
  transform: translateX(3px);
}


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

@media (max-width: 900px) {
  .about-hero__wrap {
    margin-top: -56px;
  }

  .about-intro,
  .focus,
  .mv {
    grid-template-columns: 1fr;
  }

  .about-social {
    flex-direction: row;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .focus__text {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .about-hero__wrap {
    margin-top: -40px;
  }

  .focus__row {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breadcrumb a,
  .about-social a,
  .focus__row,
  .focus__row-title,
  .focus__row svg {
    transition: none;
  }
}
