/* ==========================================================================
   Nextalent — About Us
   Page-scoped styles. Loaded after style.css, so it wins ties.
   Design frame: 1280px, 48px gutter → 1184px content column.
   The 48px gutter was read straight off the frame: the milestone card's beige
   fill runs x758..1231 and the philosophy icon tile starts at x76 (card edge
   48 + 28px card padding), so both margins are 48, not the 52 assumed before.
   ========================================================================== */

.s-about-hero,
.s-about-journey,
.s-about-philosophy,
.s-about-principles,
.s-about-team,
.s-about-cta {
  --gutter: 48px;
  /* warm beige card fills measured off the frame — no token covers them.
     The frame uses TWO: #F3EDE2 for the milestone/leader cards and a cooler
     #EDE9E1 for the figure milestone and the advisory-network panel. */
  --about-beige:    #F3EDE2;
  --about-beige-c:  #EDE9E1;
  --about-beige-2:  #EDE0D2;
  /* the frame's raised band is a warmer white than the global --surface-2 */
  --about-raised:   #FAF7F2;
  /* the small uppercase kickers read as a desaturated brown, not --terracotta,
     the same muted label colour index.html measured for its own eyebrows */
  --about-label:    #A08A79;
  --about-orange:   #F08A5D;
}

/* ---- shared small primitives ------------------------------------------- */
.s-about-kicker,
.s-about-journey__milestone-kicker,
.s-about-journey__callout-title,
.s-about-philosophy__kicker,
.s-about-team__wolf-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  /* .15em drew every kicker 5-12% wider than the frame's ink box
     (WHY WE BELIEVE 95px vs 83, OUR JOURNEY & ROOTS 156 vs 148) */
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-900);
}

/* Layout hooks. Each of these is a grid or flex child whose track must be
   allowed to shrink below the width of its longest word, otherwise a long
   unbroken string (an address, a focus line) widens the whole row. */
.s-about-philosophy__inner,
.s-about-principles__inner,
.s-about-principles__title,
.s-about-team__inner,
.s-about-journey__prose,
.s-about-journey__callout-text,
.s-about-team__leader-text,
.s-about-team__advisor-text {
  min-width: 0;
}

/* ==========================================================================
   1 — hero
   ========================================================================== */
/* the frame lifts the hero band off the page background onto the raised warm
   white; every band below it returns to --bg except philosophy / principles */
.s-about-hero {
  background: var(--surface-2);
  padding-block: 46px 54px;
}

.s-about-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.s-about-hero__tag {
  padding: 8px 17px;
  font-size: 10.5px;
  letter-spacing: .15em;
  margin-bottom: 24px;
}

/* Both lines are the serif: line 1 roman in ink, line 2 italic in terracotta.
   They live in ONE text node, so the English sentence stays the i18n key and
   ::first-line does the restyling.

   The break CANNOT come from the newline in the markup: i18n.js rewrites every
   text node with its normalised value on load, and that normaliser collapses
   \s+ to a single space, so the newline is gone by first paint. (pre-line is
   still worth keeping — with JavaScript off the newline survives and breaks
   the line itself.) The break is therefore forced by measure: max-width sits
   between the width of the first sentence and the width of the first sentence
   plus the next word, in em so it holds at every font-size step. Checked
   against Newsreader and the Georgia fallback, in both languages.
     EN  line 1 8.58em / line 1 + "Business"    11.55em  → 10em
     ID  line 2 10.04em / line 1 + "Berorientasi" 13.63em → 11.8em           */
.s-about-hero__title {
  white-space: pre-line;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--terracotta);
  max-width: 10em;
  margin-bottom: 18px;
}
:root[lang="id"] .s-about-hero__title { max-width: 11.8em; }
.s-about-hero__title::first-line {
  font-style: normal;
  letter-spacing: normal;
  color: var(--ink-900);
}

.s-about-hero__lede {
  max-width: 690px;
  margin-bottom: 26px;
}

.s-about-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.s-about-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-700);
}
.s-about-hero__pill svg { flex: none; color: var(--terracotta); }

.s-about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
}
/* the frame draws this one as a rounded rectangle, not the brand pill the
   header CTA uses — page-level modifier so .btn itself stays untouched */
.s-about-hero__cta { border-radius: var(--radius); }
.s-about-hero__jump { color: var(--ink-700); }
.s-about-hero__jump svg { flex: none; }

/* ==========================================================================
   2 — our journey & roots
   ========================================================================== */
.s-about-journey { padding-block: 42px 54px; }

.s-about-journey__inner {
  display: grid;
  grid-template-columns: minmax(0, 677fr) minmax(0, 474fr);
  column-gap: 33px;
  align-items: start;
}

.s-about-journey__eyebrow {
  color: var(--about-label);
  letter-spacing: .15em;
  margin-bottom: 9px;
}
.s-about-journey__title {
  max-width: 540px;
  margin-bottom: 24px;
}

.s-about-journey__body {
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-600);
  margin-bottom: 18px;
}
.s-about-journey__body:last-of-type { margin-bottom: 26px; }

.s-about-journey__callout {
  display: flex;
  gap: 15px;
  padding: 19px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.s-about-journey__callout-icon {
  flex: none;
  margin-top: 1px;
  color: var(--green-900);
}
.s-about-journey__callout-title { margin-bottom: 7px; }
.s-about-journey__callout-body {
  font-size: 14px;
  line-height: 1.58;
  color: var(--ink-600);
}

/* --- milestone stack --- */
.s-about-journey__milestones {
  display: grid;
  gap: 16px;
}
.s-about-journey__milestone {
  background: var(--about-beige);
  border-radius: var(--radius-lg);
  padding: 20px 24px 22px;
}
.s-about-journey__milestone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 30px;
  margin-bottom: 6px;
}
.s-about-journey__stamp {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-700);
}
.s-about-journey__stamp-pre { color: var(--ink-400); }
.s-about-journey__stamp--figure {
  padding: 0;
  background: none;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  color: var(--terracotta);
}
.s-about-journey__milestone-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.26;
  color: var(--ink-900);
  margin-bottom: 9px;
}
.s-about-journey__milestone-body {
  font-size: 14px;
  line-height: 1.58;
  color: var(--ink-600);
}

/* ==========================================================================
   3 — the philosophy behind every solution
   ========================================================================== */
.s-about-philosophy { padding-block: 50px 42px; }

.s-about-philosophy__head {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}
.s-about-philosophy__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--ink-700);
  margin-bottom: 12px;
}
.s-about-philosophy__title { margin-bottom: 14px; }
.s-about-philosophy__lede {
  max-width: 680px;
  margin-inline: auto;
}

.s-about-philosophy__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.s-about-philosophy__card {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
  border-radius: var(--radius);
}
.s-about-philosophy__tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--about-beige);
  color: var(--green-900);
  margin-bottom: 24px;
}
.s-about-philosophy__kicker { margin-bottom: 11px; }
.s-about-philosophy__card-title { margin-bottom: 13px; }
.s-about-philosophy__card-body {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-600);
  margin-bottom: 20px;
}
.s-about-philosophy__quote {
  margin-top: auto;
  background: var(--about-beige);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.s-about-philosophy__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-700);
}

/* ==========================================================================
   4 — four working principles
   ========================================================================== */
.s-about-principles { padding-block: 4px 54px; }

.s-about-principles__head { margin-bottom: 20px; }
.s-about-principles__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--ink-700);
  margin-bottom: 7px;
}

.s-about-principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.s-about-principles__card {
  display: flex;
  flex-direction: column;
  padding: 20px 21px 22px;
  border-radius: var(--radius);
}
.s-about-principles__num {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.s-about-principles__card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.s-about-principles__card-body {
  font-size: 14px;
  line-height: 1.56;
  color: var(--ink-600);
  margin-bottom: 26px;
}
.s-about-principles__card-tag {
  margin-top: auto;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* ==========================================================================
   5 — team & expert network
   ========================================================================== */
.s-about-team { padding-block: 46px 54px; }

.s-about-team__head { margin-bottom: 26px; }
.s-about-team__eyebrow {
  color: var(--about-label);
  letter-spacing: .15em;
  margin-bottom: 9px;
}
.s-about-team__title { margin-bottom: 13px; }
.s-about-team__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 630px;
}

/* --- leadership profile --- */
.s-about-team__leader {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 50px;
  align-items: center;
  background: var(--about-beige);
  border-radius: var(--radius-lg);
  padding: 38px 50px;
  margin-bottom: 22px;
}
.s-about-team__portrait {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-900);
}
.s-about-team__photo {
  width: 100%;
  height: 318px;
  object-fit: cover;
  object-position: 50% 12%;
}
.s-about-team__portrait-caption {
  padding: 11px 14px;
  background: var(--green-900);
  color: var(--on-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-align: center;
}

.s-about-team__role {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-900);
  margin-bottom: 15px;
}
.s-about-team__name { margin-bottom: 12px; }
.s-about-team__bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 640px;
  margin-bottom: 20px;
}
.s-about-team__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.s-about-team__skill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-700);
}
.s-about-team__skill svg { flex: none; color: var(--green-900); }

/* --- training arm + advisory network --- */
.s-about-team__split {
  display: grid;
  grid-template-columns: minmax(0, 481fr) minmax(0, 681fr);
  gap: 22px;
  align-items: stretch;
}

.s-about-team__wolf {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: var(--radius);
}
.s-about-team__wolf-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.s-about-team__wolf-icon {
  display: inline-flex;
  flex: none;
  color: var(--green-900);
}
.s-about-team__wolf-title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink-900);
  margin-bottom: 13px;
}
.s-about-team__wolf-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-600);
  margin-bottom: 10px;
}
.s-about-team__wolf-note {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 22px;
}
.s-about-team__wolf-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.s-about-team__wolf-link svg { flex: none; }

.s-about-team__network {
  background: var(--about-beige);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.s-about-team__network-kicker {
  color: var(--ink-700);
  letter-spacing: .15em;
  margin-bottom: 15px;
}
.s-about-team__advisors {
  display: grid;
  gap: 12px;
}
.s-about-team__advisor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.s-about-team__advisor-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.s-about-team__advisor-focus {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-400);
}
.s-about-team__advisor-pill {
  flex: none;
  padding: 7px 13px;
  background: var(--about-beige-2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-900);
}

/* ==========================================================================
   6 — pre-footer CTA band
   ========================================================================== */
.s-about-cta { padding-block: 50px 56px; }

.s-about-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 373px;
  column-gap: 56px;
  align-items: center;
}

.s-about-cta__copy { max-width: 645px; }

.s-about-cta__tag {
  background: var(--green-800);
  border-color: transparent;
  color: var(--on-dark);
  padding: 8px 17px;
  font-size: 10.5px;
  letter-spacing: .15em;
  margin-bottom: 20px;
}
.s-about-cta__tag::before { background: var(--about-orange); }

.s-about-cta__title { margin-bottom: 16px; }
.s-about-cta__lede {
  color: var(--on-dark-muted);
  max-width: 585px;
  margin-bottom: 28px;
}

.s-about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}
/* the Figma CTA is an orange rounded rectangle, not a brand pill — kept as a
   page-level modifier so .btn itself stays untouched */
.s-about-cta__btn {
  background: var(--about-orange);
  color: var(--green-900);
  border-radius: var(--radius-sm);
  padding: 0 28px;
  font-weight: 600;
}
.s-about-cta__btn:hover { background: #E67C4E; }

.s-about-cta__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--on-dark);
  transition: color .18s ease;
}
.s-about-cta__link:hover { color: var(--lime); }

.s-about-cta__hubs {
  background: var(--green-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.s-about-cta__hubs-title {
  color: var(--terracotta);
  letter-spacing: .15em;
  margin-bottom: 13px;
}
.s-about-cta__hub-list { display: grid; gap: 10px; }
.s-about-cta__hub {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--on-dark);
}
.s-about-cta__hubs-rule {
  border: 0;
  border-top: 1px solid var(--line-dark);
  margin: 17px 0;
}
.s-about-cta__hubs-sub {
  color: var(--on-dark-faint);
  letter-spacing: .15em;
  margin-bottom: 9px;
}
.s-about-cta__hubs-mail {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--on-dark);
  margin-bottom: 7px;
}
.s-about-cta__hubs-mail a { transition: color .18s ease; }
.s-about-cta__hubs-mail a:hover { color: var(--lime); }
.s-about-cta__hubs-hours {
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-dark-faint);
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1279px) {
  .s-about-cta__inner { column-gap: 40px; }
  .s-about-team__leader { column-gap: 36px; }
}

@media (max-width: 1024px) {
  .s-about-hero,
  .s-about-journey,
  .s-about-philosophy,
  .s-about-principles,
  .s-about-team,
  .s-about-cta { --gutter: 32px; }

  .s-about-hero { padding-block: 36px 44px; }
  .s-about-hero__title { font-size: 42px; }

  .s-about-journey__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }
  .s-about-journey__title { max-width: none; }

  .s-about-philosophy__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .s-about-principles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .s-about-team__leader {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 26px;
    padding: 26px;
  }
  .s-about-team__portrait { max-width: 300px; }

  .s-about-team__split { grid-template-columns: minmax(0, 1fr); }

  .s-about-cta__inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }
  .s-about-cta__copy,
  .s-about-cta__lede { max-width: none; }
  .s-about-cta__hubs { max-width: 480px; }
}

@media (max-width: 640px) {
  .s-about-hero,
  .s-about-journey,
  .s-about-philosophy,
  .s-about-principles,
  .s-about-team,
  .s-about-cta { --gutter: 20px; }

  .s-about-hero { padding-block: 28px 36px; }
  /* keeps line 1 on a single visual line down to 320px, so ::first-line
     never splits the sans face mid-sentence */
  .s-about-hero__title { font-size: min(32px, 8.4vw); line-height: 1.22; }
  .s-about-hero__lede { font-size: 16px; }
  .s-about-hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .s-about-hero__cta { width: 100%; }
  .s-about-hero__jump { justify-content: center; }

  .s-about-journey { padding-block: 32px 40px; }
  .s-about-journey__title { font-size: 30px; }
  .s-about-journey__body { font-size: 16px; }
  .s-about-journey__milestone { padding: 18px 18px 20px; }
  .s-about-journey__milestone-head { flex-wrap: wrap; gap: 8px; }
  .s-about-journey__milestone-title { font-size: 20px; }
  .s-about-journey__callout { flex-direction: column; gap: 10px; padding: 16px 18px; }

  .s-about-philosophy { padding-block: 36px 30px; }
  .s-about-philosophy__title { font-size: 30px; }
  .s-about-philosophy__lede { font-size: 16px; }
  .s-about-philosophy__card { padding: 22px 20px 24px; }
  .s-about-philosophy__card-title { font-size: 24px; }

  .s-about-principles { padding-block: 0 40px; }
  .s-about-principles__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .s-about-principles__card-body { margin-bottom: 18px; }

  .s-about-team { padding-block: 34px 40px; }
  .s-about-team__title { font-size: 30px; }
  .s-about-team__lede { font-size: 16px; }
  .s-about-team__leader { padding: 20px; }
  .s-about-team__portrait { max-width: none; }
  .s-about-team__name { font-size: 26px; }
  .s-about-team__wolf { padding: 20px; }
  .s-about-team__wolf-title { font-size: 20px; }
  .s-about-team__network { padding: 20px; }
  .s-about-team__advisor {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .s-about-cta { padding-block: 36px 42px; }
  .s-about-cta__title { font-size: 32px; }
  .s-about-cta__lede { font-size: 16px; }
  .s-about-cta__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .s-about-cta__btn { width: 100%; }
  .s-about-cta__link { text-align: center; }
  .s-about-cta__hubs { padding: 18px 18px; max-width: none; }
}
