/* ============================================================
   WEBEXTENT — ABOUT PAGE CSS
   assets/css/about.css

   Only for: pages/about.html
   Requires: global.css + nav.css loaded first
   ============================================================ */

body { padding-top: 64px; }


/* ============================================================
   ABOUT HERO
   ============================================================ */
.we-about-hero {
  position: relative;
  padding: 80px 0 72px;
  background: var(--color-bg);
  overflow: hidden;
}
.we-about-hero__mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 80% 25%, rgba(232,72,17,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 15% 75%, rgba(59,124,245,.05) 0%, transparent 65%);
}
.we-about-hero__dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(13,17,23,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 100%);
}
.we-about-hero__inner {
  position: relative; z-index: 1;
}
.we-about-hero h1 { margin-bottom: 20px; }
.we-about-hero .we-lead { max-width: 520px; margin-bottom: 36px; }

/* Stat pills row */
.we-about-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.we-about-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--r-full);
  white-space: nowrap;
}
.we-about-stat__num {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-base);
  line-height: 1;
}
.we-about-stat__lbl {
  font-size: 12px;
  color: var(--color-ink-3);
  font-weight: var(--fw-medium);
}

/* Hero right — illustrated card stack */
.we-about-hero__card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-xl);
  position: relative;
}
.we-about-hero__card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--color-base-border) 0%, transparent 60%);
  z-index: -1;
}
.we-about-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.we-about-card-row:last-child { border-bottom: none; padding-bottom: 0; }
.we-about-card-row:first-child { padding-top: 0; }
.we-about-card-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
}
.we-about-card-ico--accent {
  background: var(--color-base-tint);
  border-color: var(--color-base-border);
}
.we-about-card-text h5 { font-size: 13px; font-weight: var(--fw-bold); margin-bottom: 2px; }
.we-about-card-text p  { font-size: 12px; color: var(--color-ink-3); }
.we-about-card-val {
  margin-left: auto;
  font-size: 15px;
  font-weight: var(--fw-black);
  color: var(--color-ink);
  white-space: nowrap;
}
.we-about-card-val--base { color: var(--color-base); }

/* Hero right — SVG illustration */
.we-about-hero__art {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}
.we-about-hero__art svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.we-art-float { transform-box: fill-box; transform-origin: center; }
.we-art-float--1 { animation: we-float  5s ease-in-out infinite; }
.we-art-float--2 { animation: we-float2 6.5s ease-in-out infinite; }
.we-art-float--3 { animation: we-float  4.5s ease-in-out infinite .6s; }
@media (prefers-reduced-motion: reduce) {
  .we-art-float { animation: none !important; }
}


/* ============================================================
   SKILLS / TECH STACK
   ============================================================ */
.we-skills { padding: var(--sp-3xl) 0; }
.we-skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.we-skill {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: var(--trans-base);
}
.we-skill:hover {
  border-color: var(--color-gray-3);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.we-skill__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.we-skill__ico {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--color-base-tint);
  border: 1px solid var(--color-base-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.we-skill__ico .wpx-icon { width: 22px; height: 22px; color: var(--color-base); }
.we-skill__head h4 { font-size: 16px; }
.we-skill__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.we-skill__tags .we-tag { text-transform: none; letter-spacing: .2px; }


/* ============================================================
   MISSION & VALUES
   ============================================================ */
.we-mission {
  background: var(--color-bg-alt);
  padding: var(--sp-3xl) 0;
}
.we-mission__quote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 25px);
  color: var(--color-ink);
  line-height: 1.35;
  font-style: italic;
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--color-base);
  margin-bottom: 12px;
}
.we-mission__cite {
  font-size: 13px;
  color: var(--color-ink-3);
  padding-left: 24px;
  font-weight: var(--fw-medium);
}

/* Values grid */
.we-values {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.we-value {
  flex: 1 1 200px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: var(--trans-base);
  position: relative;
  overflow: hidden;
}
.we-value::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-base);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.we-value:hover { box-shadow: var(--sh-md); border-color: var(--color-gray-3); }
.we-value:hover::after { transform: scaleX(1); }
.we-value__ico {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
}
.we-value h4 { font-size: 15px; margin-bottom: 6px; }
.we-value p  { font-size: 13px; color: var(--color-ink-3); line-height: 1.65; }


/* ============================================================
   STORY SECTION
   ============================================================ */
.we-story { padding: var(--sp-3xl) 0; }
.we-story__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 28px;
}
.we-story__timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-base), var(--color-gray-2));
}
.we-story__event {
  position: relative;
  padding: 0 0 32px 24px;
}
.we-story__event:last-child { padding-bottom: 0; }
.we-story__event::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-base);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-base-border);
}
.we-story__year {
  font-size: 11px;
  font-weight: var(--fw-black);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-base);
  margin-bottom: 4px;
}
.we-story__event h4 { font-size: 15px; margin-bottom: 5px; }
.we-story__event p  { font-size: 13px; color: var(--color-ink-3); line-height: 1.65; }


/* ============================================================
   TEAM SECTION — light background, clean modern cards
   ============================================================ */
.we-team {
  background: var(--color-bg-alt);
  padding: var(--sp-3xl) 0 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle dot texture */
.we-team::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(13,17,23,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
/* Soft accent glow top-right */
.we-team::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(232,72,17,.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 90%, rgba(124,58,237,.05) 0%, transparent 65%);
}

.we-team__header {
  position: relative; z-index: 1;
  margin-bottom: 52px;
}
.we-team__header h2  { color: var(--color-ink); }
.we-team__header .we-lead { color: var(--color-ink-2); max-width: 460px; }

/* Cards row */
.we-team__row {
  position: relative; z-index: 1;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Individual team card — centered profile with circular avatar */
.we-team-card {
  flex: 1 1 220px;
  max-width: 250px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 30px 22px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  box-shadow: var(--sh-sm);
}
/* Top accent bar that fills on hover */
.we-team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-base);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.we-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--color-gray-3);
}
.we-team-card:hover::before { transform: scaleX(1); }

/* Circular avatar */
.we-team-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0 auto 16px;
  background: var(--color-gray-1);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 1px var(--color-line);
  transition: box-shadow .3s ease, transform .3s ease;
}
.we-team-card:hover .we-team-card__photo {
  box-shadow: 0 0 0 3px var(--color-base-border);
  transform: scale(1.04);
}

.we-team-card__person-name {
  font-size: 16px;
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  margin-bottom: 4px;
  line-height: 1.25;
}
.we-team-card__role {
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-base);
  margin-bottom: 18px;
}

/* Brand-SVG social icons — always visible, centered */
.we-team-card__socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.we-team-card__soc {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-3);
  text-decoration: none;
  transition: var(--trans-fast);
}
.we-team-card__soc .we-soc-svg {
  width: 15px; height: 15px;
  fill: currentColor;
  display: block;
}
.we-team-card__soc:hover {
  background: var(--color-base);
  border-color: var(--color-base);
  color: #fff;
  transform: translateY(-2px);
}


/* ============================================================
   WHY CHOOSE US / DIFFERENTIATORS
   ============================================================ */
.we-about-diff { padding: var(--sp-3xl) 0; background: var(--color-bg-alt); }

.we-diff-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 52px;
}
.we-diff-item {
  flex: 1 1 240px;
  background: var(--color-white);
  padding: 32px 28px;
  transition: background .2s;
  position: relative;
}
.we-diff-item:hover { background: var(--color-bg-alt); }
.we-diff-item__n {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1;
  color: var(--color-gray-2);
  margin-bottom: 16px;
  font-style: italic;
  display: block;
}
.we-diff-item h4 { font-size: 16px; margin-bottom: 8px; }
.we-diff-item p  { font-size: 13px; color: var(--color-ink-3); line-height: 1.65; }

/* Accent divider under diff number */
.we-diff-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-base);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.we-diff-item:hover::after { transform: scaleX(1); }


/* ============================================================
   CLIENTS / LOGOS SECTION
   ============================================================ */
.we-about-clients { padding: var(--sp-3xl) 0; }
.we-clients-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.we-clients-logo-row span {
  font-weight: var(--fw-black);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-ink-3);
  transition: color .22s;
}
.we-clients-logo-row span:hover { color: var(--color-ink-2); }


/* ============================================================
   CTA
   ============================================================ */
.we-about-cta {
  background: var(--color-bg-dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* .we-about-cta::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232,72,17,.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(59,124,245,.1) 0%, transparent 55%);
} */

.we-about-cta::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 26px 26px;
}
.we-about-cta__inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.we-about-cta__inner h2    { color: #fff; font-size: clamp(28px, 3.8vw, 48px); margin-bottom: 14px; }
.we-about-cta__inner h2 em { 
  font-style: italic; 
  color:  var(--color-ink-4); 
}
.we-about-cta__inner p     { font-size: 16px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 34px; }
.we-about-cta__btns        { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .we-team__row { justify-content: center; }
  .we-diff-grid  { border-radius: var(--r-lg); }
  .we-about-hero__art { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .we-team-card { flex: 1 1 calc(50% - 12px); max-width: none; }
  .we-about-stats { gap: 8px; }
  .we-diff-item { flex: 0 0 100%; }
  .we-story__timeline { padding-left: 20px; }
}

@media (max-width: 380px) {
  .we-team-card { flex: 0 0 100%; }
}