/* Homepage-only refinements for v1.8 */
.theme-perk .home-hero .eyebrow,
.theme-perk .section-head > .eyebrow,
.theme-perk .split > div:first-child > .eyebrow,
.theme-perk .callout > .eyebrow {
  font-size: 15px;
  letter-spacing: .13em;
}
.theme-perk .section-head { text-align: center; margin-inline: auto; }
.theme-perk #fit-heading { max-width: none; white-space: normal; }
.theme-perk .home-hero h1 {
  max-width: 900px;
  margin-bottom: 38px;
  font-size: clamp(64px,7.4vw,108px);
  line-height: .9;
}
.theme-perk .home-hero .lede { margin-bottom: 32px; }

/* A visual summary of the three kinds of work behind a growing team. */
.theme-perk .home-hero .hero-system {
  width: min(1080px, 95%);
  height: 400px;
  margin-top: 44px;
}
.theme-perk .process-board {
  position: absolute;
  inset: 14px 6% 22px;
  overflow: hidden;
  border: 2px solid var(--v18-ink);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 0 var(--v18-ink);
  text-align: left;
}
.theme-perk .process-top {
  height: 48px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--v18-line);
  color: var(--v18-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}
.theme-perk .process-mark { width: 12px; height: 12px; border-radius: 4px; background: var(--v18-lime); }
.theme-perk .process-status { margin-left: auto; color: var(--v18-muted); }
.theme-perk .process-status b { margin-left: 8px; color: #47702c; font-size: 9px; }
.theme-perk .process-content { display: grid; grid-template-columns: 58px minmax(0,1fr); height: calc(100% - 48px); }
.theme-perk .process-sidebar { display: flex; flex-direction: column; align-items: center; gap: 15px; padding-top: 22px; border-right: 1px solid var(--v18-line); background: var(--v18-bone); }
.theme-perk .process-sidebar i { width: 19px; height: 19px; border: 1px solid #bcbcb1; border-radius: 6px; }
.theme-perk .process-sidebar i:first-child { border-color: var(--v18-ink); background: var(--v18-lime); }
.theme-perk .process-main { min-width: 0; padding: 21px 28px 14px; }
.theme-perk .process-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.theme-perk .process-heading small { display: block; margin-bottom: 5px; color: var(--v18-muted); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.theme-perk .process-heading strong { color: var(--v18-ink); font-size: 26px; line-height: 1.03; letter-spacing: -.05em; }
.theme-perk .avatar-stack { display: flex; padding-left: 8px; }
.theme-perk .avatar-stack i { display: grid; place-items: center; width: 29px; height: 29px; margin-left: -7px; border: 2px solid white; border-radius: 50%; background: #d8cbff; color: var(--v18-ink); font-size: 9px; font-style: normal; font-weight: 800; }
.theme-perk .avatar-stack i:nth-child(2) { background: #ffd1bc; }
.theme-perk .avatar-stack i:nth-child(3) { background: var(--v18-lime); }
.theme-perk .process-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.theme-perk .process-column { position: relative; min-height: 156px; padding: 15px 14px 11px; border: 1px solid #e8e8df; border-radius: 13px; background: #fbfbf7; }
.theme-perk .process-column b { display: block; margin: 17px 0 2px; color: var(--v18-ink); font-size: 13px; letter-spacing: -.025em; }
.theme-perk .process-column small { display: block; color: var(--v18-muted); font-size: 10px; }
.theme-perk .process-number { position: absolute; top: 12px; right: 12px; color: #9b9b8f; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.theme-perk .process-pill { display: inline-block; margin-top: 13px; padding: 5px 8px; border-radius: 99px; background: #f0f0e8; color: var(--v18-ink); font-size: 9px; font-weight: 700; }
.theme-perk .interview { border-top: 3px solid var(--v18-purple); }
.theme-perk .report { border-top: 3px solid var(--v18-lime); }
.theme-perk .management { border-top: 3px solid var(--v18-coral); }
.theme-perk .mini-people { display: flex; gap: 5px; margin-top: 13px; }
.theme-perk .mini-people i { width: 20px; height: 20px; border: 4px solid #ded4ff; border-radius: 50%; background: #fff; }
.theme-perk .mini-people i:nth-child(2) { border-color: #ffcfb7; }
.theme-perk .mini-people i:nth-child(3) { border-color: #cde8aa; }
.theme-perk .report-bars { display: flex; align-items: end; gap: 5px; height: 29px; margin-top: 10px; }
.theme-perk .report-bars i { flex: 1; height: 40%; border-radius: 3px 3px 0 0; background: #c7e895; }
.theme-perk .report-bars i:nth-child(2),.theme-perk .report-bars i:nth-child(6) { height: 65%; }
.theme-perk .report-bars i:nth-child(3),.theme-perk .report-bars i:nth-child(5) { height: 82%; }
.theme-perk .report-bars i:nth-child(4) { height: 100%; background: #91c95a; }
.theme-perk .task-lines { display: grid; gap: 5px; margin-top: 8px; }
.theme-perk .task-lines i { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px; border-radius: 5px; background: #f1f1eb; color: #55554d; font-size: 8px; font-style: normal; }
.theme-perk .task-lines b { margin: 0; color: #517a37; font-size: 9px; }
.theme-perk .process-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; color: var(--v18-muted); font-size: 9px; }
.theme-perk .process-footer span { display: flex; align-items: center; gap: 6px; }
.theme-perk .process-footer span i { width: 7px; height: 7px; border-radius: 50%; background: #76b548; }
.theme-perk .process-footer > b { font-size: 8px; letter-spacing: .1em; }

/* Wide, readable two-column set of reasons to start a conversation. */
.theme-perk .fit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.theme-perk .fit-item { min-height: 142px; padding: 24px 28px; display: flex; align-items: center; gap: 20px; border-radius: 20px; }
.theme-perk .fit-item .pain-icon { flex: 0 0 46px; width: 46px; height: 46px; margin: 0; }
.theme-perk .fit-item p { max-width: none; margin: 0; font-size: 19px; line-height: 1.3; }

/* Equal neutral cards; the spring green state is shared by pointer and keyboard. */
.theme-perk .path-card,
.theme-perk .path-card:nth-child(2) {
  min-height: 340px;
  padding: 32px 36px;
  background: var(--v18-bone);
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
}
/* Keep both choices present as a pair; their interaction is hover/focus, not an
   entrance sequence that can strand one card outside an observer threshold. */
.motion-ready .theme-perk .path-card.reveal {
  opacity: 1;
  transform: none;
}
.theme-perk .path-card h3 { max-width: 14ch; margin: auto 0 16px; font-size: clamp(36px,4vw,52px); }
.theme-perk .path-card p { max-width: 48ch; margin-bottom: 22px; }
.theme-perk .path-card:hover,
.theme-perk .path-card:focus-within { transform: translateY(-5px); background: var(--v18-lime); box-shadow: 0 14px 28px #14140f12; }

/* Give service cards a restrained lift and a small image reveal. */
.theme-perk .service-card { transition: transform .28s ease, box-shadow .28s ease; }
.theme-perk .service-card > img { transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.theme-perk .service-card:hover,
.theme-perk .service-card:focus-within { transform: translateY(-7px); box-shadow: 0 18px 38px #14140f18; }
.theme-perk .service-card:hover > img,
.theme-perk .service-card:focus-within > img { transform: scale(1.035); filter: saturate(1) contrast(1.02); }
.theme-perk .service-card .text-link { transition: gap .2s ease; }
.theme-perk .service-card:hover .text-link,
.theme-perk .service-card:focus-within .text-link { gap: 13px; }

@media (max-width: 900px) {
  .theme-perk .home-hero .hero-system { height: 380px; }
  .theme-perk .process-board { inset-inline: 2%; }
  .theme-perk .process-main { padding-inline: 20px; }
  .theme-perk .fit-item { min-height: 132px; }
}
@media (max-width: 640px) {
  .theme-perk .home-hero .eyebrow,.theme-perk .section-head > .eyebrow,.theme-perk .split > div:first-child > .eyebrow,.theme-perk .callout > .eyebrow { font-size: 13px; }
  .theme-perk .home-hero .hero-system { height: 275px; margin-top: 30px; }
  .theme-perk .home-hero h1 { margin-bottom: 26px; font-size: 50px; line-height: .94; }
  .theme-perk .process-board { inset: 5px 0 13px; border-radius: 18px; box-shadow: 0 7px 0 var(--v18-ink); }
  .theme-perk .process-top { height: 38px; padding-inline: 12px; gap: 7px; font-size: 8px; }
  .theme-perk .process-mark { width: 9px; height: 9px; }
  .theme-perk .process-status b { margin-left: 3px; font-size: 7px; }
  .theme-perk .process-content { grid-template-columns: 34px minmax(0,1fr); height: calc(100% - 38px); }
  .theme-perk .process-sidebar { gap: 11px; padding-top: 16px; }
  .theme-perk .process-sidebar i { width: 14px; height: 14px; border-radius: 4px; }
  .theme-perk .process-main { padding: 14px 10px 8px; }
  .theme-perk .process-heading { margin-bottom: 11px; }
  .theme-perk .process-heading small { margin-bottom: 3px; font-size: 7px; }
  .theme-perk .process-heading strong { font-size: 20px; }
  .theme-perk .avatar-stack i { width: 22px; height: 22px; font-size: 7px; }
  .theme-perk .process-columns { gap: 5px; }
  .theme-perk .process-column { min-height: 126px; padding: 10px 7px 7px; border-radius: 9px; }
  .theme-perk .process-column b { margin: 15px 0 2px; font-size: 9px; line-height: 1.15; }
  .theme-perk .process-column small { min-height: 22px; font-size: 7px; line-height: 1.2; }
  .theme-perk .process-number { top: 8px; right: 7px; font-size: 7px; }
  .theme-perk .process-pill { margin-top: 8px; padding: 4px 5px; font-size: 7px; }
  .theme-perk .mini-people { margin-top: 8px; gap: 3px; }
  .theme-perk .mini-people i { width: 15px; height: 15px; border-width: 3px; }
  .theme-perk .report-bars { height: 21px; gap: 3px; margin-top: 7px; }
  .theme-perk .task-lines { gap: 3px; margin-top: 6px; }
  .theme-perk .task-lines i { padding: 3px; font-size: 6px; }
  .theme-perk .task-lines b { font-size: 7px; }
  .theme-perk .process-footer { margin-top: 8px; font-size: 7px; }
  .theme-perk .process-footer > b { font-size: 6px; }
  .theme-perk .fit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .theme-perk .fit-item { min-height: 128px; padding: 15px; display: block; border-radius: 16px; }
  .theme-perk .fit-item .pain-icon { width: 35px; height: 35px; margin-bottom: 14px; padding: 7px; }
  .theme-perk .fit-item p { font-size: 14px; line-height: 1.3; }
  .theme-perk .path-card,.theme-perk .path-card:nth-child(2) { min-height: 310px; padding: 25px; }
  .theme-perk .path-card h3 { margin-top: auto; font-size: 38px; }
}
@media (max-width: 380px) {
  .theme-perk .fit-grid { grid-template-columns: 1fr; }
  .theme-perk .fit-item { min-height: 100px; display: flex; align-items: center; gap: 15px; }
  .theme-perk .fit-item .pain-icon { flex-basis: 35px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-perk .path-card,.theme-perk .service-card,.theme-perk .service-card > img,.theme-perk .service-card .text-link { transition: none; }
  .theme-perk .path-card:hover,.theme-perk .path-card:focus-within,.theme-perk .service-card:hover,.theme-perk .service-card:focus-within { transform: none; }
  .theme-perk .service-card:hover > img,.theme-perk .service-card:focus-within > img { transform: none; }
}
