/* ============================================================
   Service detail page  (page-service-permanent.php and siblings)
   Tokens & shared patterns come from styles.css; this file
   only adds the service-page–specific layout & components.
   ============================================================ */

/* generic eyebrow used across service sections */
.sv-overview .eyebrow,
.sv-value .eyebrow,
.sv-benefits .eyebrow,
.sv-industries .eyebrow,
.sv-usp .eyebrow {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

/* ─────────────  HERO  ───────────── */
.sv-hero {
  background: var(--primary);
  height: 520px;
  /* Override the generic 120/120 padding so the 520px banner stays sized
     by its content. The hero→next-section gap is created by the next
     section's padding-top alone — no margin-bottom on the hero. */
  padding: 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.sv-hero .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.sv-hero-grid {
  display: grid;
  /* Match the reference banner (.hero / .pg-hero): a proportional 2-col
     split with the copy on the left and the composite photo on the right,
     instead of a fixed 560px image column. Keeps every inner banner's
     heading width and photo position identical site-wide. */
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.sv-hero-eyebrow {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.sv-hero h1 {
  color: var(--white);
  font-size: 88px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
}
.sv-hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
  margin: 0 0 38px;
  max-width: 620px;
}
.sv-hero-cta {
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 6px;
}
.sv-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  /* Right-align the composite photo within its column (no centering) so it
     sits flush to the banner's right edge like the reference .hero. */
  justify-content: flex-end;
}
.sv-hero-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(6,214,160,0.55), rgba(6,214,160,0) 65%);
  filter: blur(8px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: svHeroOrbPulse 6s ease-in-out infinite;
}
.sv-hero-orb-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 70% 70%, rgba(215,234,229,0.35), rgba(50,156,138,0) 70%);
  animation-delay: 1.4s;
}
.sv-hero-photo {
  position: relative;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 0 0 6px rgba(255,255,255,0.08);
  z-index: 2;
}
.sv-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes svHeroOrbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* ─────────────  HIRING PROCESS (service template only)  ─────────────
   Left-aligns the head, sizes type up to match the user's reference,
   and adds a staggered fade-up animation when the card enters view. */
.page-template-page-service-permanent .lp-process-card {
  padding: 60px 64px;
}
.page-template-page-service-permanent .lp-process-head {
  text-align: left;
  margin: 0 0 56px;
  max-width: 640px;
}
.page-template-page-service-permanent .lp-process-head h2 {
  font-size: 40px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.page-template-page-service-permanent .lp-process-head p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  max-width: 480px;
}
.page-template-page-service-permanent .lp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: var(--secondary);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}
.page-template-page-service-permanent .lp-step h4 {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 14px;
}
.page-template-page-service-permanent .lp-step p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
}

/* Scroll-reveal: the dashed connector draws in from left, each step
   then fades + slides up, staggered. The reveal target
   .lp-process-card is observed by the existing IntersectionObserver
   in about.js — it adds .in-view when the card scrolls into view. */
.page-template-page-service-permanent .lp-steps::before {
  top: 19px;             /* centre of the 38px number circle */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s ease-out;
}
.page-template-page-service-permanent .lp-process-card.in-view .lp-steps::before {
  transform: scaleX(1);
}
.page-template-page-service-permanent .lp-step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-template-page-service-permanent .lp-process-card.in-view .lp-step {
  opacity: 1;
  transform: translateY(0);
}
.page-template-page-service-permanent .lp-process-card.in-view .lp-step:nth-child(1) { transition-delay: 0.05s; }
.page-template-page-service-permanent .lp-process-card.in-view .lp-step:nth-child(2) { transition-delay: 0.20s; }
.page-template-page-service-permanent .lp-process-card.in-view .lp-step:nth-child(3) { transition-delay: 0.35s; }
.page-template-page-service-permanent .lp-process-card.in-view .lp-step:nth-child(4) { transition-delay: 0.50s; }
@media (prefers-reduced-motion: reduce) {
  .page-template-page-service-permanent .lp-step { opacity: 1; transform: none; transition: none; }
}

/* Centre each step (number, title, body) + re-centre the dashed connector to
   span the centred 01-04 — matches the Home process section. The service detail
   renders via BOTH the page template (.page-template-page-service-permanent)
   and the CPT single (.single-mp_service, which require()s the same template),
   so cover both. Text-align + connector insets only, so the reveal animation
   and the mobile carousel (connector hidden there) are unchanged. */
.page-template-page-service-permanent .lp-step,
.single-mp_service .lp-step { text-align: center; }
.page-template-page-service-permanent .lp-steps::before,
.single-mp_service .lp-steps::before { left: 12.5%; right: 12.5%; }

/* ─────────────  TRUSTED PARTNERS  ───────────── */
.sv-partners { background: var(--white); }
.sv-partners h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 40px;
  letter-spacing: -0.01em;
}
.sv-partners-marquee {
  position: relative;
  overflow: hidden;
}
.sv-partners-marquee::before,
.sv-partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.sv-partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), rgba(255,255,255,0));
}
.sv-partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), rgba(255,255,255,0));
}
.sv-partners-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  animation: sv-partners-marquee 30s linear infinite;
}
.sv-partners-marquee:hover .sv-partners-track { animation-play-state: paused; }
.sv-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(12, 21, 89, 0.30);
  white-space: nowrap;
  flex: 0 0 auto;
}
.sv-partner svg { width: 22px; height: 22px; flex: 0 0 auto; }
.sv-partner--stripe { font-style: italic; font-weight: 700; }
.sv-partner--google { font-weight: 500; }
.sv-partner--gumroad { font-weight: 800; letter-spacing: 0.04em; font-size: 21px; }
.sv-partner--asana { text-transform: lowercase; font-weight: 700; }
@keyframes sv-partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sv-partners-track { animation: none; }
}

/* ─────────────  OVERVIEW  ───────────── */
.sv-overview { padding: 120px 0; background: var(--white); }
.sv-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
/* No-image variant: single centered column, intro then 4-up icon points */
.sv-overview--no-image .sv-overview-grid {
  grid-template-columns: 1fr;
  gap: 56px;
}
.sv-overview--no-image .sv-overview-text {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.sv-overview--no-image .sv-overview-text > p:last-of-type {
  margin: 0 auto;
}
.sv-overview--no-image .sv-overview-points {
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  row-gap: 0;
  margin-top: 0;
}
.sv-overview--no-image .sv-overview-point {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* Cards variant: pill eyebrow, left-aligned heading + intro, 3-up icon row */
.sv-overview--cards .sv-overview-grid {
  grid-template-columns: 1fr;
  gap: 56px;
}
.sv-overview--cards .sv-overview-text {
  text-align: left;
  max-width: 780px;
  margin: 0;
}
.sv-overview--cards .sv-overview-points {
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  row-gap: 0;
  margin-top: 0;
}
.sv-overview--cards .sv-overview-point {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.sv-overview-pill {
  display: inline-block;
  border: 1.5px solid var(--secondary);
  color: var(--primary);
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 26px;
}
/* Sharp-edge rule on this template would flatten the pill — exempt it. */
.page-template-page-service-permanent .sv-overview-pill {
  border-radius: 999px !important;
}
.sv-overview-image {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 8;
  max-width: 620px;
}
.sv-overview-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}
.sv-overview-image-accent {
  position: absolute;
  width: 80%;
  height: 80%;
  right: -36px;
  bottom: -36px;
  background: linear-gradient(135deg, rgba(6,214,160,0.18), rgba(6,214,160,0.04));
  border-radius: 22px;
  z-index: 1;
}
.sv-overview-text h2 {
  font-size: 54px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 26px;
}
.sv-overview-text p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 22px;
}
.sv-overview-text > p:last-child { margin-bottom: 0; }

/* Overview value-prop points (2x2 icon grid below the intro paragraph) */
.sv-overview-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 24px;
}
.sv-overview-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sv-overview-point-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sv-overview-point-icon svg {
  width: 56px;
  height: 56px;
  overflow: visible;
  transition: transform 0.35s ease;
}
/* Stroke draw-in animation: each path renders at 2px screen pixels
   (vector-effect non-scaling-stroke), starts hidden, draws in when
   the parent .sv-overview-grid receives .in-view from the IO.
   Using a dasharray larger than any path in a 24x24 viewBox so the
   dash covers the whole path and offset hides it cleanly. */
.sv-overview-point-icon svg circle,
.sv-overview-point-icon svg path,
.sv-overview-point-icon svg polyline,
.sv-overview-point-icon svg line {
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.6s ease-out;
}
.sv-overview-grid.in-view .sv-overview-point-icon svg circle,
.sv-overview-grid.in-view .sv-overview-point-icon svg path,
.sv-overview-grid.in-view .sv-overview-point-icon svg polyline,
.sv-overview-grid.in-view .sv-overview-point-icon svg line {
  stroke-dashoffset: 0;
}
/* Stagger each point so the draw-in cascades */
.sv-overview-grid.in-view .sv-overview-point:nth-child(1) .sv-overview-point-icon svg * { transition-delay: 0.05s; }
.sv-overview-grid.in-view .sv-overview-point:nth-child(2) .sv-overview-point-icon svg * { transition-delay: 0.20s; }
.sv-overview-grid.in-view .sv-overview-point:nth-child(3) .sv-overview-point-icon svg * { transition-delay: 0.35s; }
.sv-overview-grid.in-view .sv-overview-point:nth-child(4) .sv-overview-point-icon svg * { transition-delay: 0.50s; }
.sv-overview-point:hover .sv-overview-point-icon svg { transform: translateY(-3px) scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .sv-overview-point-icon svg * { transition: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .sv-overview-point-icon svg { transition: none; }
}
.sv-overview-point-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin: 4px 0 4px;
  line-height: 1.3;
}
.sv-overview-point-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}

/* ─────────────  VALUE PROPOSITION  ───────────── */
.sv-value { padding: 120px 0; background: var(--soft); }
.sv-value-head { text-align: center; margin: 0 auto 64px; max-width: 760px; }
.sv-value-head h2 {
  font-size: 52px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}
.sv-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.sv-value-item {
  background: var(--white);
  border-radius: 18px;
  padding: 44px 32px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  opacity: 0;
  transform: translateY(20px);
}
.sv-value-item.in-view { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease; }
.sv-value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.sv-value-icon {
  color: var(--secondary);
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,214,160,0.08);
  border-radius: 16px;
  margin-bottom: 28px;
}
.sv-value-icon svg { width: 44px; height: 44px; }
.sv-value-item h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 12px;
}
.sv-value-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

/* ─────────────  PROCESS (overrides for service page)  ───────────── */
.sv-process { padding: 120px 0; background: var(--white); }

/* ─────────────  KEY BENEFITS  ───────────── */
.sv-benefits { padding: 120px 0; background: var(--soft); }
.sv-benefits-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.sv-benefits-content { min-width: 0; }
.sv-benefits-head { margin-bottom: 36px; }
.sv-benefits-head h2 {
  font-size: 52px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 22px;
}
.sv-benefits-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  max-width: 460px;
}
.sv-benefits-image {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.sv-benefits-image img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  box-shadow: none;
}
.sv-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}
.sv-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
}
.sv-check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(12, 21, 89, 0.35);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.sv-check svg { width: 16px; height: 16px; }

/* Industries section on the service page reuses .lp-industries from landing.css.
 * The bespoke icon set ships with width="72" inline; render at 48px for fit. */
.page-template-page-service-permanent .lp-industry-icon svg {
  width: 48px;
  height: 48px;
}
/* Taller cards + larger icon→heading gap + larger description copy, scoped
 * so the home page (which also renders .lp-industry) is unaffected. */
.page-template-page-service-permanent .lp-industry {
  padding: 48px 28px;
}
.page-template-page-service-permanent .lp-industry-icon {
  margin-bottom: 100px;
}
.page-template-page-service-permanent .lp-industry p {
  font-size: 20px;
}

/* Permanent Placement: sharp edges everywhere — wipes out border-radius on
 * every element on this template (buttons, cards, images, inputs, social
 * icons, leadership photos, etc). !important is needed because some
 * existing rules like .foot-social a { border-radius: 50% } have equal
 * specificity (0,1,1) to .page-template-page-service-permanent *.
 * Scoped by the body class so only the service page is affected — home,
 * about, etc. keep their rounded corners. */
.page-template-page-service-permanent,
.page-template-page-service-permanent * {
  border-radius: 0 !important;
}
/* Narrow exceptions to the page-wide sharp-edges rule: keep the Benefits
 * tick icons as circles. The Powered visual on this template now renders
 * the image in its natural form (no circle backdrop, no circular crop). */
.page-template-page-service-permanent .sv-check,
.page-template-page-service-permanent .lp-step-num {
  border-radius: 50% !important;
}
/* Powered (service template): show the photo at its natural aspect, no
 * circular crop, no fixed dimensions, no decorative circle backdrop. */
.page-template-page-service-permanent .lp-powered-visual {
  height: auto;
}
.page-template-page-service-permanent .lp-powered-visual img {
  position: static;
  width: 100%;
  height: auto;
  max-width: 380px;
  object-fit: initial;
  transform: none;
  top: auto;
  left: auto;
  background: transparent;
  box-shadow: none;
}
/* Tech-card body copy is 13px on the landing page; the service template
 * wants larger 18px text without touching landing.css. */
.page-template-page-service-permanent .lp-tech-card p {
  font-size: 18px;
  line-height: 1.55;
}

/* Hero photo: the new permanent-placement.png ships with the circle/teal
 * composition baked in (transparent PNG, 544x363 natural). Strip the fixed
 * square dimensions, the cover-crop, and the inset framing shadow so the
 * image renders in its original style — natural aspect ratio, transparent
 * background, no rectangular container. */
/* Services are now a CPT (single-mp_service); match both the legacy page
   template and the CPT single body class so the override still applies. */
.page-template-page-service-permanent .sv-hero-photo,
.single-mp_service .sv-hero-photo {
  width: auto;
  height: auto;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.page-template-page-service-permanent .sv-hero-photo img,
.single-mp_service .sv-hero-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: initial;
  display: block;
}

/* ─────────────  ROLES OFFERED  ───────────── */
.sv-roles { padding: 120px 0; background: var(--white); }
.sv-roles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 48px;
}
.sv-roles-head-text {
  text-align: left;
  max-width: 720px;
  flex: 1 1 auto;
  min-width: 0;
}
.sv-roles-head h2 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 22px;
}
.sv-roles-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  max-width: 640px;
}
/* Slider container: clips overflow horizontally so off-page cards hide. */
.sv-roles-slider {
  position: relative;
  overflow: hidden;
}
.sv-roles-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
}
.sv-role {
  position: relative;
  flex: 0 0 calc((100% - 56px) / 3);   /* 3 cards visible, 28px gap × 2 = 56px */
  background: var(--primary);
  color: #fff;
  padding: 44px 48px;
  min-height: 260px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  transition: background .3s ease, color .3s ease, transform .25s ease;
}
.sv-role:hover {
  transform: translateY(-3px);
  background: var(--secondary);
  color: var(--primary);
}
.sv-role:hover h3,
.sv-role:hover p { color: var(--primary); }
.sv-role:hover .sv-role-art { color: var(--primary); }
.sv-role-copy {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.sv-role h3 {
  font-size: 30px;
  font-weight: 500;
  /* Show the heading exactly as typed in the backend (was forced lowercase). */
  text-transform: none;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
  min-height: 2.3em;   /* reserve 2 lines so single-line titles still push descriptions to the same baseline */
  transition: color .3s ease;
}
.sv-role p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  transition: color .3s ease;
}
.sv-role-art {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 200px;
  height: 200px;
  color: var(--secondary);
  opacity: 0.95;
  pointer-events: none;
  z-index: 1;
  transition: color .3s ease, transform .35s ease;
}
.sv-role-art svg { width: 100%; height: 100%; overflow: visible; }
/* Subtle entrance + drift on the decorative art */
.sv-role-art svg * {
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.6s ease-out;
}
.sv-roles-slider.in-view .sv-role:nth-child(n) .sv-role-art svg * { stroke-dashoffset: 0; }
.sv-roles-slider.in-view .sv-role:nth-child(1) .sv-role-art svg * { transition-delay: 0.05s; }
.sv-roles-slider.in-view .sv-role:nth-child(2) .sv-role-art svg * { transition-delay: 0.15s; }
.sv-roles-slider.in-view .sv-role:nth-child(3) .sv-role-art svg * { transition-delay: 0.25s; }
.sv-roles-slider.in-view .sv-role:nth-child(4) .sv-role-art svg * { transition-delay: 0.35s; }
.sv-roles-slider.in-view .sv-role:nth-child(5) .sv-role-art svg * { transition-delay: 0.45s; }
.sv-roles-slider.in-view .sv-role:nth-child(6) .sv-role-art svg * { transition-delay: 0.55s; }
.sv-role:hover .sv-role-art { transform: translate(-4px, -4px); }
@media (prefers-reduced-motion: reduce) {
  .sv-role-art svg * { transition: none; stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Slider nav buttons (prev / next) — sit on the right of the section
   heading, vertically aligned with the bottom of the subtitle. */
.sv-roles-nav {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}
.sv-roles-btn {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.sv-roles-btn:hover {
  background: var(--primary);
  color: #fff;
}
.sv-roles-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.sv-roles-btn:disabled:hover {
  background: transparent;
  color: var(--primary);
}
.sv-roles-btn svg { width: 22px; height: 22px; }

/* Technologies Supported now reuses .lp-powered / .lp-tech-card from
 * landing.css (already enqueued on this template). No bespoke styling
 * needed here. */

/* ─────────────  INDUSTRIES  ───────────── */
.sv-industries { padding: 120px 0; background: var(--white); }
.sv-industries-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.sv-industries-head h2 {
  font-size: 52px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 18px;
}
.sv-industries-head p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}
.sv-industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.sv-industry {
  background: var(--soft);
  border-radius: 18px;
  padding: 44px 24px 36px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.sv-industry:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.sv-industry-icon {
  color: var(--secondary);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.sv-industry-icon svg { width: 42px; height: 42px; }
.sv-industry h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}

/* ─────────────  USP  ───────────── */
.sv-usp { padding: 120px 0; background: var(--soft); }
.sv-usp-head { text-align: center; margin: 0 auto 64px; max-width: 720px; }
.sv-usp-head h2 {
  font-size: 52px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
}
.sv-usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.sv-usp-item {
  background: var(--white);
  border-radius: 18px;
  padding: 40px 36px 36px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  opacity: 0;
  transform: translateY(20px);
}
.sv-usp-item.in-view { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease; }
.sv-usp-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.sv-usp-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--secondary);
  margin-bottom: 18px;
}
.sv-usp-item h3 {
  font-size: 22px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 10px;
}
.sv-usp-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

/* ─────────────  CTA tweak  ───────────── */
.sv-cta h2 {
  font-size: 80px;
  margin-bottom: 24px;
}
.sv-cta-sub {
  color: rgba(255,255,255,0.78);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
  margin: 0 auto 44px;
  max-width: 620px;
}

/* ============================================================
   Industry detail page  (page-industry-it.php and siblings)
   Reuses .sv-* + .lp-* patterns; the .id-* selectors below only
   cover what's unique to industry pages — the engagement-model
   cross-link grid.
   ============================================================ */

.id-services { padding: 120px 0; background: var(--white); }
.id-services-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.id-services-head .eyebrow {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.id-services-head h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--primary);
  margin: 0 0 18px;
}
.id-services-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}
.id-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.id-service {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  opacity: 0;
  transform: translateY(20px);
}
.id-service.in-view { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.id-service:hover {
  transform: translateY(-4px);
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.id-service h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--primary);
  margin: 0;
  line-height: 1.25;
}
.id-service p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
  flex: 1;
}
.id-service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 8px;
  transition: gap .25s ease;
}
.id-service-link:hover { gap: 14px; }
.id-service-soon {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(122,129,155,0.10);
  padding: 6px 12px;
  border-radius: 999px;
  margin-top: 8px;
  align-self: flex-start;
}
.id-service.is-soon { opacity: 0.92; }
.id-service.is-soon:hover {
  transform: none;
  background: var(--soft);
  border-color: var(--line);
  box-shadow: none;
}

/* ─────────────  INDUSTRY IT — OVERVIEW (2-column)  ─────────────
   Left column carries the .sv-overview-text block (pill + heading + body)
   followed by 1 icon item. Right column carries 2 icon items stacked.
   The .sv-* classes inside still pick up service.css styling (frozen);
   only the new .id-overview-* selectors here are industry-specific. */
.id-overview .id-overview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 96px;
  align-items: center;
}
.id-overview-item {
  display: flex;
  flex-direction: column;   /* vertical block: icon on top, title + desc below */
  align-items: flex-start;
  gap: 18px;
}
.id-overview-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* two parallel vertical items */
  gap: 32px;
  padding-top: 8px;
}
.id-overview-item-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 70px;
  background: transparent;
  border-radius: 0;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .25s ease, transform .25s ease;
}
.id-overview-item-icon svg { width: 72px; height: 70px; }
.id-overview-item:hover .id-overview-item-icon { transform: translateY(-2px); }
.id-overview-item-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 8px;
  line-height: 1.3;
}
.id-overview-item-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
}

/* Shared eyebrow for industry-detail section heads */
.id-spec-head .eyebrow,
.id-tech-head .eyebrow,
.id-ind-head .eyebrow,
.id-stats-head .eyebrow,
.id-process .lp-process-head .eyebrow {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

/* ─────────────  SPECIALIZATIONS  ─────────────
 * Section background stays white; the inner .id-spec-box gets the soft
 * grey fill so the band only spans the 1620 px content column (i.e.
 * 150 px gutter on each side of the 1920 canvas). */
.id-spec { padding: 120px 0; background: var(--white); }
.id-spec-box {
  background: var(--soft);
  border-radius: 0;
  padding: 72px 64px;
}
.id-spec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.id-spec-head h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--primary);
  margin: 0;
}
.id-spec-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 32px;
  row-gap: 36px;
}
/* Tablet (769–1199px): the 5-column grid is too wide for the container and
   the non-wrapping labels push it past the screen — drop to fewer columns so
   it fits. Desktop (>=1200px) keeps 5 columns; <=768px uses the JS marquee. */
@media (min-width: 769px) and (max-width: 1199px) {
  .id-spec-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 769px) and (max-width: 880px) {
  .id-spec-grid { grid-template-columns: repeat(2, 1fr); }
}
.id-spec-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  transition: color .25s ease;
}
.id-spec-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 214, 160, 0.12);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.id-spec-icon svg { width: 26px; height: 26px; }
.id-spec-item:hover .id-spec-icon {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}
.id-spec-label { display: inline-block; }

/* ─────────────  TECHNOLOGIES & PLATFORMS  ───────────── */
.id-tech { padding: 120px 0; background: var(--white); }
.id-tech-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.id-tech-head h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--primary);
  margin: 0;
}
.id-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.id-tech-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.id-tech-card:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}
.id-tech-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 10px;
  position: relative;
  padding-left: 16px;
}
.id-tech-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}
.id-tech-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  margin: 0;
}

/* ─────────────  IT SOLUTIONS ACROSS INDUSTRIES  ───────────── */
.id-ind { padding: 120px 0; background: var(--white); }
.id-ind-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.id-ind-head h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--primary);
  margin: 0;
}
.id-ind-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.id-ind-item {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 16px 24px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.id-ind-item:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ─────────────  HIRING MODELS (4-up override of .id-services)  ───────────── */
.id-models { background: var(--soft); }
.id-models .id-services-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.id-models .id-service { background: var(--white); padding: 36px 28px 32px; }

/* ─────────────  HIRING PROCESS — 5-step override  ───────────── */
.id-process .lp-steps { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.id-process .lp-process-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.id-process .lp-process-head .eyebrow { display: block; }

/* ─────────────  FLEXIBLE IT STAFFING (industry-IT page)  ─────────────
 * Reuses landing.css .lp-services; only clears the section background to
 * white on this template. The landing page (frozen) is unaffected because
 * the override is scoped via the body class. */
.page-template-page-industry-it .lp-services {
  background: var(--white);
}

/* ─────────────  PAGE-WIDE PARAGRAPH SIZE (industry-IT page)  ─────────────
 * Per user request 2026-05-13: normalize every <p> on this template to 18px.
 * Body-class scoped so the frozen service / landing / about pages are
 * unaffected. */
.page-template-page-industry-it p {
  font-size: 18px;
}

/* ─────────────  OUR OTHER INDUSTRIES (industry-IT page)  ─────────────
 * Reuses landing.css .lp-industries; overrides the 4-col grid to 3-col
 * since we hide the current page's own industry card. Hover flips the
 * card background to the brand teal (matches the .lp-industry.is-featured
 * treatment on the landing page) — scoped here so landing is unaffected. */
.id-other-ind .lp-industries-grid {
  grid-template-columns: repeat(3, 1fr);
}
.id-other-ind .lp-industry:hover {
  background: var(--secondary);
}

/* ─────────────  WHY CHOOSE US (industry-IT navy variant)  ─────────────
 * Reuses the frozen .sv-benefits 2-col + image-collage layout. The
 * .id-why-bench modifier only changes the background to navy and lightens
 * the text/check colours so contrast works against the dark band. It does
 * NOT modify any .sv-* CSS rule — the descendant selectors below are new
 * rules scoped to .id-why-bench, which is only used on the industry page. */
.id-why-bench {
  background: var(--primary);
}
.id-why-bench .sv-benefits-head .eyebrow {
  color: var(--secondary);
}
.id-why-bench .sv-benefits-head h2 {
  color: var(--white);
}
.id-why-bench .sv-benefits-sub {
  color: rgba(255, 255, 255, 0.78);
}
.id-why-bench .sv-benefits-list li {
  color: var(--white);
}
.id-why-bench .sv-check {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

/* ─────────────  RECRUITMENT IMPACT (stats)  ───────────── */
.id-stats { padding: 120px 0; background: var(--primary); color: var(--white); }
.id-stats-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.id-stats-head .eyebrow { color: var(--secondary); }
.id-stats-head h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--white);
  margin: 0;
}
.id-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.id-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 44px 28px 36px;
  text-align: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.id-stat:hover {
  transform: translateY(-4px);
  background: rgba(6,214,160,0.08);
  border-color: var(--secondary);
}
.id-stat-num {
  display: block;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 14px;
}
.id-stat-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .sv-hero-orb,
  .sv-hero-mark { animation: none !important; }
  .sv-value-item,
  .sv-usp-item,
  .id-service { opacity: 1; transform: none; }
}
