/* =========================================================
   ABOUT PAGE
========================================================= */

:root {
  --about-dark: #080d1b;
  --about-navy: #09162d;
  --about-red: #ef4444;
  --about-orange: #f97316;
  --about-blue: #2563eb;
  --about-text: #171a21;
  --about-muted: #6f737c;
  --about-line: #e9e9ec;
}

/* =========================================================
   HERO
========================================================= */

.about-hero {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  color: #fff;

  background: #080d1b;
}

.about-hero-bg {
  position: absolute;
  inset: 0;

  background: url("../images/about/about-hero.png") center / cover no-repeat;

  transform: scale(1.03);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(4, 8, 18, 0.92) 0%,
      rgba(4, 8, 18, 0.65) 48%,
      rgba(4, 8, 18, 0.25) 100%
    ),
    linear-gradient(0deg, rgba(4, 8, 18, 0.65), transparent 50%);
}

.about-hero-content {
  position: relative;

  max-width: 950px;

  padding: 190px 0 90px;
}

.about-eyebrow {
  margin-bottom: 25px;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 0.22em;

  color: rgba(255, 255, 255, 0.55);
}

.about-hero h1 {
  max-width: 1000px;

  font-family: "Manrope", sans-serif;

  font-size: clamp(48px, 7vw, 92px);

  line-height: 1.02;

  letter-spacing: -0.055em;

  font-weight: 700;
}

.about-hero-copy {
  max-width: 650px;

  margin-top: 30px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 18px;

  line-height: 1.75;
}

.hero-scroll {
  display: flex;
  align-items: center;

  gap: 18px;

  margin-top: 50px;

  font-size: 13px;

  color: rgba(255, 255, 255, 0.55);
}

.hero-scroll a {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.3);

  color: #fff;

  transition: 0.3s ease;
}

.hero-scroll a:hover {
  background: #fff;
  color: #111;

  transform: translateY(4px);
}

/* =========================================================
   INTRO
========================================================= */

.about-intro {
  background: #fff;
}

.about-intro-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  gap: 100px;
}

.about-big-heading {
  max-width: 600px;

  font-family: "Manrope", sans-serif;

  font-size: clamp(42px, 5vw, 68px);

  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 700;

  color: #16181d;
}

.about-big-heading span {
  display: block;

  color: #a2a5ac;
}

.about-intro-copy {
  padding-top: 35px;
}

.about-intro-copy p {
  max-width: 670px;

  margin-bottom: 24px;

  color: #777b84;

  font-size: 16px;

  line-height: 1.85;
}

.about-intro-copy .lead-copy {
  color: #24272d;

  font-size: 21px;

  line-height: 1.7;

  font-weight: 500;
}

/* =========================================================
   LARGE FEATURE IMAGE
========================================================= */

.about-feature {
  padding-bottom: 120px;

  background: #fff;
}

.about-feature-image {
  position: relative;

  min-height: 680px;

  overflow: hidden;

  border-radius: 4px;
}

.about-feature-image img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.about-feature-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(6, 10, 20, 0.78),
    rgba(6, 10, 20, 0.05) 70%
  );
}

.about-feature-content {
  position: absolute;

  left: 70px;
  bottom: 70px;

  z-index: 2;

  color: #fff;
}

.about-feature-content p {
  margin-bottom: 18px;

  font-size: 12px;

  letter-spacing: 0.2em;

  font-weight: 700;

  color: rgba(255, 255, 255, 0.6);
}

.about-feature-content h2 {
  font-size: clamp(45px, 6vw, 76px);

  line-height: 1.02;

  letter-spacing: -0.05em;

  font-weight: 700;
}

/* =========================================================
   CAPABILITIES
========================================================= */

.about-capabilities {
  background: #f7f7f8;
}

.capability-heading {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  gap: 80px;

  align-items: end;

  margin-bottom: 75px;
}

.capability-heading > p {
  max-width: 520px;

  color: #777b84;

  line-height: 1.8;
}

.capability-list {
  border-top: 1px solid #dcdde0;
}

.capability-row {
  position: relative;

  display: grid;

  grid-template-columns:
    70px
    80px
    1fr
    60px;

  gap: 25px;

  align-items: center;

  padding: 38px 15px;

  border-bottom: 1px solid #dcdde0;

  color: #191b20;

  transition:
    padding 0.35s ease,
    background 0.35s ease;
}

.capability-row:hover {
  padding-left: 30px;
  padding-right: 30px;

  background: #fff;
}

.capability-number {
  font-size: 12px;

  color: #a3a5aa;
}

.capability-icon {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fff;

  font-size: 21px;

  color: #ef5a45;
}

.capability-name h3 {
  margin-bottom: 7px;

  font-size: 26px;

  font-weight: 700;
}

.capability-name p {
  color: #85888f;

  font-size: 14px;
}

.capability-arrow {
  width: 46px;
  height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border: 1px solid #ddd;

  transition: 0.3s;
}

.capability-row:hover .capability-arrow {
  background: #ef5a45;

  border-color: #ef5a45;

  color: #fff;

  transform: rotate(-35deg);
}

/* =========================================================
   VISION
========================================================= */

.about-vision {
  position: relative;

  overflow: hidden;

  padding: 130px 0;

  color: #fff;

  background: linear-gradient(135deg, #170b24 0%, #08142b 50%, #061020 100%);
}

.vision-glow {
  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  filter: blur(120px);

  opacity: 0.25;
}

.vision-glow-one {
  left: -200px;
  top: -200px;

  background: #ef4444;
}

.vision-glow-two {
  right: -180px;
  bottom: -200px;

  background: #2563eb;
}

.vision-heading {
  margin-bottom: 75px;
}

.vision-heading h2 {
  font-size: clamp(44px, 6vw, 75px);

  line-height: 1.05;

  letter-spacing: -0.05em;

  font-weight: 700;
}

.vision-heading h2 span {
  color: rgba(255, 255, 255, 0.38);
}

.vision-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vision-card {
  min-height: 340px;

  padding: 35px;

  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.vision-card:last-child {
  border-right: 0;
}

.vision-card > span {
  display: block;

  margin-bottom: 50px;

  color: rgba(255, 255, 255, 0.35);

  font-size: 12px;
}

.vision-icon {
  margin-bottom: 28px;

  font-size: 30px;

  color: #fb755b;
}

.vision-card h3 {
  margin-bottom: 15px;

  font-size: 22px;

  font-weight: 700;
}

.vision-card p {
  color: rgba(255, 255, 255, 0.55);

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   TEAM
========================================================= */

.team-section {
  background: #fff;
}

.team-heading {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  align-items: end;

  gap: 80px;

  margin-bottom: 55px;
}

.team-heading > p {
  max-width: 500px;

  color: #777b84;

  line-height: 1.8;
}

.team-tabs {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-bottom: 45px;
}

.team-tab {
  padding: 11px 19px;

  border-radius: 50px;

  border: 1px solid #dddfe3;

  background: transparent;

  color: #73767c;

  font-size: 13px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.25s ease;
}

.team-tab:hover {
  border-color: #222;

  color: #222;
}

.team-tab.active {
  background: #17191e;

  border-color: #17191e;

  color: #fff;
}

.team-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 42px 24px;
}

.team-card {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.team-card.team-hidden {
  display: none;
}

.team-photo {
  position: relative;

  height: 390px;

  overflow: hidden;

  background: #eee;
}

.team-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter: grayscale(10%);

  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.4s ease;
}

.team-photo-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 15, 0.6));

  opacity: 0;

  transition: 0.35s;
}

.team-card:hover .team-photo img {
  transform: scale(1.045);

  filter: grayscale(0%);
}

.team-card:hover .team-photo-overlay {
  opacity: 1;
}

.team-social {
  position: absolute;

  right: 18px;
  bottom: 18px;

  z-index: 3;

  opacity: 0;

  transform: translateY(10px);

  transition: 0.35s ease;
}

.team-card:hover .team-social {
  opacity: 1;

  transform: translateY(0);
}

.team-social a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #fff;

  color: #15171b;
}

.team-info {
  padding-top: 20px;
}

.team-info h3 {
  margin-bottom: 5px;

  font-size: 18px;

  font-weight: 700;

  color: #191b20;
}

.team-info p {
  color: #92949a;

  font-size: 13px;
}

/* =========================================================
   CTA
========================================================= */

.about-cta {
  padding: 0 0 100px;

  background: #fff;
}

.about-cta-box {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 50px;

  padding: 70px;

  color: #fff;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(239, 68, 68, 0.35),
      transparent 35%
    ),
    linear-gradient(135deg, #11162b, #071426);
}

.about-cta-box h2 {
  font-size: clamp(38px, 5vw, 62px);

  line-height: 1.08;

  letter-spacing: -0.045em;

  font-weight: 700;
}

.about-cta-button {
  flex-shrink: 0;

  display: inline-flex;

  align-items: center;

  gap: 30px;

  padding: 8px 8px 8px 25px;

  border-radius: 50px;

  background: #fff;

  color: #111;

  font-size: 14px;

  font-weight: 700;
}

.about-cta-button i {
  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #fff;

  background: #ef5a45;

  transition: 0.3s;
}

.about-cta-button:hover i {
  transform: rotate(-35deg);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
  .about-intro-grid,
  .capability-heading,
  .team-heading {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-card:nth-child(2) {
    border-right: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-cta-box {
    align-items: flex-start;

    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .about-hero {
    min-height: 620px;
  }

  .about-hero-content {
    padding: 160px 0 60px;
  }

  .about-hero h1 {
    font-size: 48px;
  }

  .about-feature-image {
    min-height: 500px;
  }

  .about-feature-content {
    left: 30px;
    bottom: 35px;
  }

  .capability-row {
    grid-template-columns:
      45px
      1fr
      45px;

    gap: 15px;

    padding: 28px 5px;
  }

  .capability-icon {
    display: none;
  }

  .capability-name h3 {
    font-size: 21px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .vision-card {
    min-height: auto;

    border-right: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;

    gap: 30px 14px;
  }

  .team-photo {
    height: 260px;
  }

  .team-tabs {
    flex-wrap: nowrap;

    overflow-x: auto;

    padding-bottom: 5px;

    scrollbar-width: none;
  }

  .team-tabs::-webkit-scrollbar {
    display: none;
  }

  .team-tab {
    flex: 0 0 auto;
  }

  .about-cta-box {
    padding: 45px 28px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 420px;
  }
}
