/* pages/company.css — P5: About dé (/company) and How we work (/how-we-work).
   Shared P5 patterns (hero text, checklists, related cards, FAQ, end spacing)
   live in pages/services.css, which these views link first. Tokens only,
   mobile-first, no !important. */

/* ── About: who we are ─────────────────────────────────────────────────── */
.p5-copy--lg {
  font-size: var(--fs-lead);
  font-weight: var(--fw-medium);
}
@media (min-width: 900px) {
  .p5-values {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── About: story + vision ─────────────────────────────────────────────── */
.p5-story {
  align-items: stretch;
}
.p5-vision {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  overflow: hidden;
}
.p5-vision .circles-deco {
  display: none;
  right: -7rem;
  bottom: -7rem;
  width: 20rem;
}
@media (min-width: 900px) {
  .p5-vision .circles-deco {
    display: block;
  }
}
.p5-vision__text {
  position: relative;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--text-on-dark);
  max-width: 30rem;
}
.p5-vision__line {
  position: relative;
  margin-top: auto;
  padding-top: var(--sp-24);
  font-size: var(--fs-h4);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-h3);
  color: var(--text-on-dark-accent);
}

/* ── About: offices ────────────────────────────────────────────────────── */
.p5-offices {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p5-office {
  align-items: flex-start;
  padding: var(--sp-20);
}
.p5-office__address {
  display: block;
  margin-top: var(--sp-6);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--text-muted);
}

/* ── About: fairs teaser list ──────────────────────────────────────────── */
.p5-fairs {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── About: seven languages ────────────────────────────────────────────── */
.p5-languages {
  display: grid;
  gap: var(--sp-20);
}
@media (min-width: 900px) {
  .p5-languages {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: var(--sp-40);
  }
}
.p5-languages__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p5-lang {
  min-height: var(--tap);
  padding-inline: var(--sp-16);
  font-size: var(--fs-small);
}
.p5-lang[aria-current="true"] {
  background: var(--surface-brand);
  border-color: var(--surface-brand);
  color: var(--text-on-dark);
}

/* ── How we work: step details ─────────────────────────────────────────── */
.p5-step-details {
  display: grid;
  gap: var(--sp-24);
  margin: 0;
  padding: 0;
  list-style: none;
}
.p5-step {
  display: grid;
  gap: var(--grid-gap);
  scroll-margin-top: calc(var(--header-h) + var(--sp-16));
}
@media (min-width: 820px) {
  .p5-step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }
  .p5-step--flip .p5-step__body {
    order: 2;
  }
}
.p5-step__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-14);
}
.p5-step__text {
  font-size: var(--fs-lead);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--text);
  max-width: 32rem;
}
.p5-step__media {
  position: relative;
  min-height: 15rem;
  border-radius: var(--r-3xl);
  overflow: hidden;
  background: var(--brand-ice-light);
}
.p5-step__media > picture,
.p5-step__media > .media-fallback {
  position: absolute;
  inset: 0;
}
.p5-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 820px) {
  .p5-step__media {
    min-height: 20rem;
  }
}
.p5-help {
  margin-top: auto;
  width: 100%;
  padding: var(--sp-16) var(--sp-20);
  border-radius: var(--r-lg);
  background: var(--surface-tint);
  font-size: var(--fs-body-sm);
  line-height: 1.55;
  color: var(--text-muted);
}
.p5-help__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  margin-bottom: var(--sp-6);
  font-size: var(--fs-xs);
  font-weight: var(--fw-heavy);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-brand);
}
:lang(zh) .p5-help__label,
:lang(ko) .p5-help__label {
  text-transform: none;
  letter-spacing: 0;
}

@media print {
  .p5-step__media,
  .p5-languages__list {
    display: none;
  }
}
