/* =============================================================
   Talent & HR Services — Executive Access CTA cards
   Two side-by-side cards linking to HNH (International) and HNC (US).
   ============================================================= */

.exec-access {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 0 0 1rem;
}

.exec-access__card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.7rem 1.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(201, 71, 225, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exec-access__card:hover,
.exec-access__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: 0 12px 30px rgba(201, 71, 225, 0.18);
}

.exec-access__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.exec-access__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #14141c;
}

.exec-access__cta {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--brand);
}

@media (max-width: 860px) {
  .exec-access { grid-template-columns: 1fr; }
}

/* --- #talent: track-record footnote — brighter & larger for readability.
   Base .fa-footnote is rgba(255,255,255,0.55) @ 0.85rem (too dim/small). */
#talent .fa-footnote {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

/* --- #talent headline: keep on a single line and scale it to fill the
   column width. Container-query units (cqw) are relative to .talent-headline,
   whose width = the section content width, so the text fills one line at any
   viewport without ever wrapping. Tuned to leave a small safety margin so the
   line never overflows horizontally. --- */
.talent-headline { container-type: inline-size; }
#talent .talent-headline .s-heading {
  white-space: nowrap;
  font-size: clamp(0.7rem, 2.85cqw, 2.4rem);
  line-height: 1.15;
}

/* #talent subtitle ("Recruitment on the ground globally…") — a touch larger.
   Overrides the hashed .sa336dee349 (1.1rem) via the #id + :not() boost. */
#talent .sa336dee349:not(#_):not(#_) {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

/* RPO heading em-dash — render a thinner bar by squashing its stroke
   vertically (font-weight alone can't go below the available 300 weight). */
.rpo-dash {
  display: inline-block;
  transform: scaleX(0.55) scaleY(0.45);
  transform-origin: center 55%;
  vertical-align: middle;
  font-weight: 300;
}

/* ============================================================================
   Facts about subrosa Health — circle stat grid
   Matches the subrosa Capital "Getting things done" circles (thin magenta/violet
   gradient ring, transparent fill, bold magenta number) — dark-theme variant.
   ========================================================================== */
/* Flex layout: stat circles on the left, kununu award badges stacked on the right. */
#talent .fc-layout {
  display: flex; align-items: stretch; justify-content: center;
  gap: 2.4rem; margin: 2.5rem 0 1.6rem; flex-wrap: wrap;
}
#talent .fc-stats {
  flex: 1 1 640px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.7rem; justify-items: center; align-items: start;
  margin: 0;
}
/* Award badges — vertical stack flush with the circle grid: top badge aligns
   with the first row's top, bottom badge with the last row's bottom. */
#talent .fc-badges {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1.1rem;
}
#talent .fc-badge {
  width: clamp(104px, 10.5vw, 132px); height: auto; display: block;
}
@media (max-width: 700px) {
  #talent .fc-badges { flex-direction: row; justify-content: center; }
}
#talent .fc-circle {
  --fc-deg: 360deg; /* JS (fc_stats.js) animates 0 -> 360 as the number counts up; full ring is the no-JS fallback */
  position: relative; box-sizing: border-box;
  width: clamp(140px, 15vw, 184px); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1rem 0.9rem; gap: 0.18rem;
  background: rgba(255,255,255,0.04);
}
#talent .fc-circle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px;
  background: conic-gradient(from -90deg,
    #C947E1 0deg, #7A4FB8, #4A7BC8 var(--fc-deg),
    rgba(255,255,255,0.12) var(--fc-deg) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* All numbers identical size (no per-circle shrink); keep on one line so long
   values like "+67.000" and "91% / 86%" stay the same scale as the rest. */
#talent .fc-circle__num {
  font-size: clamp(1.2rem, 1.85vw, 1.7rem);
  font-weight: 800; line-height: 1; color: var(--brand);
  white-space: nowrap; letter-spacing: -0.01em;
}
#talent .fc-circle__desc { font-size: clamp(0.62rem, 0.85vw, 0.74rem); font-weight: 600; line-height: 1.25; color: rgba(255,255,255,0.82); margin-top: 0.32rem; }
#talent .fc-circle__time { font-size: clamp(0.74rem, 1vw, 0.86rem); font-weight: 600; line-height: 1.2; color: rgba(255,255,255,0.62); margin-top: 0.15rem; }

@media (max-width: 900px) { #talent .fc-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { #talent .fc-stats { grid-template-columns: 1fr; } }

/* ============================================================================
   Why subrosa Health — 3 value cards (dark-card style, matches .thr-mod)
   Subtle magenta-tinted gradient fill, magenta top-accent, white headline,
   light body. Equal-height columns: the bullet list grows and distributes so
   shorter cards (1 & 3) have no empty lower third.
   ========================================================================== */
/* Natural-height flex cards aligned to their tops. Each card's bullets follow
   immediately after its quote box (or the lead line in column 2) with no
   reserved row, so columns 1 & 3 have no empty space above their bullets. */
#why .why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1.4rem; row-gap: 1.4rem;
  align-items: stretch;        /* all cards end on the same bottom edge (equal height) */
  margin: 2.6rem 0 2.4rem;
}
#why .why-card {
  display: flex; flex-direction: column; gap: 1rem;
  background:
    linear-gradient(165deg, rgba(201,71,225,0.10) 0%, rgba(255,255,255,0.035) 42%, rgba(122,79,184,0.08) 100%),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 3px solid var(--brand);
  border-radius: 16px;
  padding: 1.75rem 1.6rem 1.85rem;
  box-shadow: 0 20px 48px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.05);
}
#why .why-card__kicker {
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #e9a0f2;
}
#why .why-card__headline {
  margin: 0; font-weight: 800; line-height: 1.2;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem); color: #ffffff;
}
/* Pull-quote: magenta left-accent; row 3 sizes to the tallest quote so all
   three boxes share one height. */
#why .why-card__quote {
  margin: 0; padding: 0.95rem 1.1rem;
  display: flex; align-items: center;
  background: rgba(201,71,225,0.12);
  border: 1px solid rgba(201,71,225,0.30);
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
  font-style: italic; line-height: 1.5; font-size: 0.95rem;
  color: #f3c6f8;
}
#why .why-card__lead {
  margin: 0; color: rgba(255,255,255,0.80); line-height: 1.55; font-size: 0.95rem;
}
/* Bullets flow directly under the quote (or the lead line in column 2),
   tight and even — no reserved row, so no empty space above them. */
#why .why-card__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1.05rem;
}
/* Icon kept aligned to the FIRST line of text (not the vertical centre of a
   multi-line bullet). Icon box ~= first line-box height, so align-items:start
   reads as centred-to-first-line. */
#why .why-bullet {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
}
#why .why-bullet__icon {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: linear-gradient(135deg, #C947E1, #7A4FB8);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(201,71,225,0.28);
}
#why .why-bullet__icon svg { width: 0.95rem; height: 0.95rem; }
#why .why-bullet__text {
  color: rgba(255,255,255,0.84); line-height: 1.55; font-size: 0.92rem;
  padding-top: 0.12rem;
}
@media (max-width: 960px) {
  #why .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   Light-theme variants for components that are dark-only by default, so the
   alternating light/dark section rhythm renders cleanly when these land on a
   light section (HR Consulting modules, RPO problem cards).
   ========================================================================== */
.s-light .thr-mod {
  background: rgba(255,255,255,0.65);
  border-color: rgba(201,71,225,0.18);
}
.s-light .thr-mod h3 { color: #14141C; }
.s-light .thr-mod p { color: rgba(20,20,28,0.82); }
.s-light .thr-mod p em, .s-light .thr-mod p strong { color: #14141C; }

.s-light .thr-problem { background: rgba(255,255,255,0.6); }
.s-light .thr-problem p { color: rgba(20,20,28,0.82); }

/* HR Consulting — framework line under the module tiles, enlarged */
#hr-consulting .thr-framework {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #14141C;
  line-height: 1.3;
}

/* HR Consulting modules use the fa-pillar card design with a numbered badge */
#hr-consulting .fa-pillar__icon--num { font-weight: 800; font-size: 1rem; letter-spacing: 0.02em; }

/* HR Consulting modules as a single-row carousel (horizontal scroll-snap) */
#hr-consulting .fa-pillars {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 0.1rem 0.9rem;
  margin: 0 0 1.6rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,71,225,0.5) transparent;
}
#hr-consulting .fa-pillars .fa-pillar {
  flex: 0 0 clamp(248px, 30vw, 320px);
  scroll-snap-align: start;
}
#hr-consulting .fa-pillars::-webkit-scrollbar { height: 8px; }
#hr-consulting .fa-pillars::-webkit-scrollbar-thumb { background: rgba(201,71,225,0.5); border-radius: 8px; }
#hr-consulting .fa-pillars::-webkit-scrollbar-track { background: transparent; }
