/* About Us page (Figma node 1:1261) */

/* ---------- Inner hero (460px, image already darkened in the asset) ---------- */
.inner-hero { min-height: 460px; padding: 160px 0 100px; align-items: flex-end; background-position: center; }
.inner-hero::before { display: none; }
.inner-hero__inner { display: flex; justify-content: center; }
.inner-hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: 60px; line-height: 87.93px; text-align: center; color: #fff;
}

/* ---------- Story split ---------- */
.story { padding-block: 90px; }
.story__inner {
  display: grid; grid-template-columns: repeat(2, minmax(0, 595px));
  justify-content: space-between; align-items: center; gap: 50px;
}
.story__media { position: relative; height: 908px; border-radius: 50px; box-shadow: 0 7px 29px rgba(100, 100, 111, .2); }
.story__img { width: 100%; height: 900px; object-fit: cover; border-radius: 50px; }

.story__badge { position: absolute; display: flex; flex-direction: column; }
.story__badge strong { font-family: var(--f-display); font-weight: 700; font-size: 36px; line-height: 40px; }
.story__badge--projects {
  left: -25px; top: -25px;
  width: 139px; height: 120px; align-items: center; justify-content: center;
  border-radius: 24px;
  background: linear-gradient(139.2deg, var(--c-orange), var(--c-pink));
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, .25));
  color: #fff;
}
.story__badge--projects span { font-weight: 500; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .9); }
.story__badge--years {
  left: 75.5%; top: 821px;
  width: 171px; padding: 25px;
  background: #fff; border: 1px solid var(--c-border-soft); border-radius: 16px;
  filter: drop-shadow(0 20px 12.5px rgba(0, 0, 0, .1)) drop-shadow(0 8px 5px rgba(0, 0, 0, .1));
}
.story__badge--years strong { align-self: flex-start; }
.story__badge--years span { font-size: 14px; line-height: 20px; color: var(--c-text); }

.story__body { display: flex; flex-direction: column; align-items: flex-start; }
.story__title {
  padding: 19px 0 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 60px; line-height: 60px; color: var(--c-ink);
}
.story__title .text-grad { display: block; width: fit-content; }
.story__body p { padding-bottom: 25px; font-size: 20px; line-height: 32.5px; color: var(--c-text); }

/* ---------- What Drives Us ---------- */
.values { padding-block: 100px; background: var(--c-surface-alt); }
.values__title { line-height: 60px; text-align: center; }
.values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 65px; }
.value-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-height: 300px; padding: 33px;
  background: #fff; border: 1px solid var(--c-border-soft); border-radius: 32px;
  filter: drop-shadow(0 10px 7.5px rgba(0, 0, 0, .1)) drop-shadow(0 4px 3px rgba(0, 0, 0, .1));
  position: relative; isolation: isolate;
  transition: transform .35s var(--ease);
}
/* Pastel gradient wash on hover — same treatment as home "What We Create" cards */
.value-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(135deg, #cefafe 0%, #fce7f3 55%, #ffedd4 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.value-card:hover::before { opacity: 1; }
.value-card:hover { transform: translateY(-4px); }
.value-card img { width: 50px; height: 50px; border-radius: 20px; object-fit: cover; transition: transform .3s var(--ease); }
.value-card:hover img { transform: scale(1.08); }
.value-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 32px; color: var(--c-ink); }
.value-card p { max-width: 230px; font-size: 16px; line-height: 26px; color: var(--c-text); }

/* ---------- Stats band ---------- */
.stats-band { padding-block: 100px; background: var(--c-pink) center / cover no-repeat; color: #fff; }
.stats-band__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats-band__item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.stats-band__item img { width: 50px; height: 50px; transition: transform .3s var(--ease); }
.stats-band__item:hover img { transform: translateY(-4px); }
.stats-band__num { font-family: var(--f-display); font-weight: 700; font-size: 60px; line-height: 60px; }
.stats-band__label { font-weight: 500; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .9); }

/* ---------- Team ---------- */
.team { padding-block: 95px; }
.team__head { display: flex; flex-direction: column; align-items: center; padding-block: 15px; text-align: center; }
.team__title { line-height: 60px; }
.team__head p { max-width: 620px; padding-top: 15px; font-size: 20px; line-height: 28px; color: var(--c-text); }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 347px)); justify-content: space-between; gap: 32px; padding-top: 65px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; }
.member img {
  width: 300px; height: 300px; max-width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.member:hover img { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(246, 51, 154, .18); }
.member h3 { padding-top: 15px; font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 28px; color: var(--c-ink); }
.member p {
  padding: 10px 0 15px;
  font-weight: 600; font-size: 16px; line-height: 24px;
  background: linear-gradient(90deg, var(--c-cyan), #2b7fff); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- CTA band (same component as services.html) ---------- */
.cta-band { padding-block: 95px; background: #fff center / cover no-repeat; text-align: center; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; }
.cta-band__title { font-family: var(--f-display); font-weight: 700; font-size: 60px; line-height: 60px; color: var(--c-ink); }
.cta-band__text { padding: 33px 0 40px; font-size: 20px; line-height: 28px; color: var(--c-text); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cta-btn {
  height: 62px; padding: 15px 40px;
  font-weight: 700; font-size: 18px; line-height: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}
.cta-btn--sm { height: 58px; min-width: 199px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .story__media { height: auto; aspect-ratio: 595 / 908; }
  .story__img { height: calc(100% - 8px); }
  .story__badge--years { top: auto; bottom: -25px; left: auto; right: -25px; }
  .story__title { font-size: 52px; line-height: 56px; }
}
@media (max-width: 1080px) {
  .story__inner { grid-template-columns: 1fr; justify-items: center; }
  .story__media { width: 100%; max-width: 595px; }
  .story__body { width: 100%; max-width: 595px; }
  .story__title { font-size: 48px; line-height: 52px; }
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-card p { max-width: none; }
  .stats-band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .cta-band__title { font-size: 48px; line-height: 56px; }
}
@media (max-width: 768px) {
  .inner-hero { min-height: 320px; padding: 130px 0 56px; }
  .inner-hero__title { font-size: 44px; line-height: 56px; }
  .story { padding-block: 64px; }
  .story__media, .story__img { border-radius: 32px; }
  .story__badge--projects { left: -8px; top: -14px; width: 120px; height: 104px; border-radius: 20px; }
  .story__badge--years { right: -8px; bottom: -18px; width: auto; padding: 16px 18px; }
  .story__badge--years span { white-space: nowrap; }
  .story__badge strong { font-size: 30px; line-height: 34px; }
  .story__title { font-size: 38px; line-height: 44px; }
  .story__body p { font-size: 17px; line-height: 28px; }
  .values { padding-block: 64px; }
  .values__title, .team__title { line-height: 1.2; }
  .values__grid { padding-top: 40px; }
  .value-card { min-height: 0; padding: 26px; gap: 12px; }
  .stats-band { padding-block: 64px; }
  .stats-band__num { font-size: 44px; line-height: 48px; }
  .stats-band__label { font-size: 14px; }
  .team { padding-block: 64px; }
  .team__head p { font-size: 17px; line-height: 26px; }
  .team__grid { gap: 16px; padding-top: 40px; }
  .member img { width: 100%; height: auto; }
  .cta-band { padding-block: 64px; }
  .cta-band__title { font-size: 38px; line-height: 46px; }
  .cta-band__text { padding: 20px 0 32px; font-size: 17px; line-height: 26px; }
}
@media (max-width: 600px) {
  .values__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; justify-items: center; gap: 24px; }
  .member img { width: 260px; height: 260px; }
}
@media (max-width: 420px) {
  .inner-hero__title { font-size: 38px; line-height: 48px; }
  .story__title { font-size: 32px; line-height: 38px; }
  .stats-band__list { column-gap: 8px; }
  .stats-band__num { font-size: 36px; line-height: 42px; }
  .cta-band__title { font-size: 32px; line-height: 40px; }
}
