/* HR Elites — Cinematic homepage (scroll-driven) */

:root {
  --hc-brand: #472586;
  --hc-brand-deep: #351c66;
  --hc-brand-light: #6b4a9e;
  --hc-brand-glow: rgba(71, 37, 134, 0.22);
  --hc-contrast: #e9d5ff;
  --hc-contrast-soft: #6b4a9e;
  --hc-surface: #faf8fc;
  --hc-surface-elevated: #f3effa;
  --hc-text: #1a1228;
  --hc-text-muted: #5c5470;
}

.home-cinematic-page {
  overflow-x: hidden;
}

/* Homepage header: see site-header.css .home-cinematic-page rules */

.hc-root {
  position: relative;
  background: var(--hc-surface);
  color: var(--hc-text);
}

#hc-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Floating brand bubbles — above page content, subtle overlay */
.hc-bg-bubbles {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.hc-bg-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(159, 138, 191, 0.75) 0%,
    rgba(107, 74, 158, 0.5) 45%,
    rgba(71, 37, 134, 0.35) 100%
  );
  box-shadow: 0 0 14px rgba(71, 37, 134, 0.25);
  opacity: 0.55;
  animation: hc-bubble-float var(--dur) ease-in-out infinite;
  animation-delay: var(--d);
}

.hc-bg-bubble:nth-child(3n) {
  background: radial-gradient(
    circle at 30% 30%,
    rgba(107, 74, 158, 0.7) 0%,
    rgba(71, 37, 134, 0.45) 50%,
    rgba(53, 28, 102, 0.25) 100%
  );
}

.hc-bg-bubble:nth-child(3n + 1) {
  opacity: 0.45;
}

.hc-bg-bubble:nth-child(3n + 2) {
  opacity: 0.65;
  box-shadow: 0 0 12px rgba(107, 74, 158, 0.3);
}

@keyframes hc-bubble-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(12px, -18px) scale(1.08);
  }
  50% {
    transform: translate(-8px, -32px) scale(0.95);
  }
  75% {
    transform: translate(-14px, -12px) scale(1.05);
  }
}

/* Keep cinematic overlays behind the site footer */
.hre-site-footer {
  position: relative;
  z-index: 30;
}

.hc-vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 72% 18%, rgba(107, 74, 158, 0.14), transparent 58%),
    radial-gradient(ellipse 50% 42% at 18% 72%, rgba(71, 37, 134, 0.1), transparent 52%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(71, 37, 134, 0.05), transparent 60%),
    linear-gradient(180deg, #fdfcff 0%, var(--hc-surface) 100%);
}

.hc-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--hc-brand), var(--hc-brand-light), var(--hc-contrast-soft));
  box-shadow: 0 0 20px var(--hc-brand-glow);
}

.hc-scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hc-text-muted);
  transition: opacity 0.5s ease;
}

.hc-scroll-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hc-scroll-hint span {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--hc-brand-light), transparent);
  animation: hc-hint-pulse 2s ease-in-out infinite;
}

@keyframes hc-hint-pulse {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Pinned stage */
.hc-stage-wrap {
  position: relative;
  z-index: 3;
}

.hc-stage {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hc-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hc-scene.is-active {
  pointer-events: auto;
}

.hc-scene-inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  position: relative;
}

@media (min-width: 1024px) {
  .hc-scene-inner {
    padding: 7rem 3rem 4rem;
  }
}

/* Depth layers */
.hc-depth-stack {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hc-depth-layer {
  position: absolute;
  will-change: transform, opacity;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.hc-depth-layer img {
  display: block;
  max-width: none;
  border-radius: 1rem;
  object-fit: cover;
}

.hc-depth-layer--back {
  opacity: 0.35;
  filter: blur(2px) drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
}

.hc-depth-layer--mid {
  opacity: 0.65;
}

.hc-depth-layer--front {
  opacity: 1;
}

/* Typography */
.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hc-text-muted);
  margin-bottom: 1rem;
}

.hc-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hc-brand-light));
}

.hc-eyebrow.justify-center {
  justify-content: center;
}

.hc-root h1,
.hc-root h2,
.hc-root h3,
.hc-title,
.hc-title-static,
.hc-typewriter-text,
.hc-eyebrow {
  font-family: var(--hre-font-heading);
}

.hc-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hc-title-static {
  display: block;
  line-height: 1.05;
  color: var(--hc-text);
}

.hc-title-typed {
  display: block;
  min-height: 1.15em;
  line-height: 1.05;
  width: 100%;
}

.hc-title-gradient {
  background: linear-gradient(135deg, var(--hc-brand-deep) 0%, var(--hc-brand) 45%, var(--hc-brand-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hc-moving-banner {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(71, 37, 134, 0.15);
  background: rgba(71, 37, 134, 0.08);
  color: var(--hc-brand);
  margin-bottom: 1rem;
}

.hc-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--hc-brand) 0%, var(--hc-brand-light) 100%);
  box-shadow: 0 0 24px var(--hc-brand-glow);
}

.hc-ai-badge i {
  color: #fde68a;
  animation: hc-ai-pulse 2s ease-in-out infinite;
}

.hc-ai-badge--center {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

@keyframes hc-ai-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hc-typewriter-text {
  display: inline;
  white-space: nowrap;
}

.hc-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 3px;
  vertical-align: -0.06em;
  background: var(--hc-brand);
  animation: hc-cursor-blink 0.9s step-end infinite;
}

@keyframes hc-cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hc-suite-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--hc-contrast-soft);
}

.hc-suite-note a {
  color: var(--hc-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hc-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--hc-text-muted);
  max-width: 36rem;
}

.hc-lead strong {
  color: var(--hc-brand);
}

.hc-scene-num {
  position: absolute;
  top: 5.5rem;
  right: 1.5rem;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(71, 37, 134, 0.06);
  user-select: none;
}

/* Intro */
.hc-intro-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hc-intro-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hc-logo-mark {
  width: clamp(3rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 30px var(--hc-brand-glow));
}

.hc-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hc-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(71, 37, 134, 0.14);
  background: #fff;
  color: var(--hc-brand);
  box-shadow: 0 2px 12px rgba(71, 37, 134, 0.06);
}

/* Hero visual — rotating services desk around skil.png hub */
.hc-service-desk {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.hc-service-desk__glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 37, 134, 0.18), transparent 68%);
  animation: hc-desk-glow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hc-desk-glow {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

.hc-service-desk__track {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hc-service-desk__ring {
  position: absolute;
  inset: 0;
  animation: hc-desk-orbit 42s linear infinite;
}

.hc-service-desk__ring::before {
  content: '';
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(71, 37, 134, 0.22);
}

@keyframes hc-desk-orbit {
  to {
    transform: rotate(360deg);
  }
}

.hc-service-desk__sat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.5rem;
  height: 5.5rem;
  margin: -2.75rem 0 0 -2.75rem;
  transform: rotate(calc(var(--i) * 60deg)) translateY(-168px);
  text-decoration: none;
  pointer-events: auto;
  z-index: 2;
}

.hc-service-desk__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.4rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.14);
  box-shadow: 0 10px 28px rgba(71, 37, 134, 0.12);
  color: var(--hc-brand);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  animation: hc-desk-counter 42s linear infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@keyframes hc-desk-counter {
  to {
    transform: rotate(-360deg);
  }
}

.hc-service-desk__card img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.hc-service-desk__sat:hover .hc-service-desk__card {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(71, 37, 134, 0.2);
}

.hc-service-desk__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--hc-surface-elevated) 100%);
  border: 1px solid rgba(71, 37, 134, 0.12);
  box-shadow:
    0 0 0 6px rgba(71, 37, 134, 0.04),
    0 20px 48px rgba(71, 37, 134, 0.14);
}

.hc-service-desk__hub img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(71, 37, 134, 0.2));
}

@media (max-width: 480px) {
  .hc-service-desk__sat {
    width: 4.75rem;
    height: 4.75rem;
    margin: -2.375rem 0 0 -2.375rem;
    transform: rotate(calc(var(--i) * 60deg)) translateY(-132px);
  }

  .hc-service-desk__card {
    font-size: 0.55rem;
  }

  .hc-service-desk__card img {
    width: 1.85rem;
    height: 1.85rem;
  }
}

/* Smart Recruitment hub — software.png center, 4 static satellites */
.hc-recruit-hub {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.hc-recruit-hub__glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 37, 134, 0.2), transparent 70%);
  pointer-events: none;
}

.hc-recruit-hub__orbit {
  position: absolute;
  inset: 0;
}

.hc-recruit-hub__orbit::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(71, 37, 134, 0.18);
}

.hc-recruit-hub__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5.25rem;
  height: 5.25rem;
  margin: -2.625rem 0 0 -2.625rem;
  transform: rotate(calc(var(--i) * 90deg)) translateY(-155px) rotate(calc(var(--i) * -90deg));
  z-index: 2;
}

.hc-recruit-hub__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 100%;
  padding: 0.65rem 0.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.14);
  box-shadow: 0 10px 28px rgba(71, 37, 134, 0.12);
  color: var(--hc-brand);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, min-width 0.3s ease;
}

.hc-recruit-hub__card img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hc-recruit-hub__label {
  display: block;
  max-width: 9.5rem;
  margin-top: 0;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(4px);
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease, transform 0.3s ease;
}

.hc-recruit-hub__item:hover .hc-recruit-hub__card {
  transform: scale(1.18);
  padding: 0.75rem 0.65rem;
  box-shadow: 0 16px 40px rgba(71, 37, 134, 0.22);
}

.hc-recruit-hub__item:hover .hc-recruit-hub__card img {
  transform: scale(1.08);
}

.hc-recruit-hub__item:hover .hc-recruit-hub__label {
  opacity: 1;
  max-height: 3.5rem;
  margin-top: 0.4rem;
  transform: translateY(0);
}

.hc-recruit-hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68%;
  height: 68%;
  pointer-events: none;
}

.hc-recruit-hub__core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(71, 37, 134, 0.2));
}

@media (max-width: 480px) {
  .hc-recruit-hub__item {
    width: 4.5rem;
    height: 4.5rem;
    margin: -2.25rem 0 0 -2.25rem;
    transform: rotate(calc(var(--i) * 90deg)) translateY(-118px) rotate(calc(var(--i) * -90deg));
  }

  .hc-recruit-hub__card {
    font-size: 0.55rem;
  }

  .hc-recruit-hub__card img {
    width: 1.9rem;
    height: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-recruit-hub__card,
  .hc-recruit-hub__card img,
  .hc-recruit-hub__label {
    transition: none;
  }

  .hc-recruit-hub__label {
    opacity: 1;
    max-height: none;
    margin-top: 0.4rem;
    transform: none;
  }
}

/* Advanced CV hub — hover image reveals all ring items */
.hc-cv-hub {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: visible;
}

.hc-scene--cv .hc-scene-inner,
.hc-scene--cv .hc-service-visual {
  overflow: visible;
}

/* Gradient ring (replaces dashed circle) */
.hc-cv-hub__ring {
  position: absolute;
  inset: 4%;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 210deg,
    rgba(71, 37, 134, 0.08) 0deg,
    rgba(107, 74, 158, 0.45) 80deg,
    rgba(71, 37, 134, 0.95) 160deg,
    rgba(159, 138, 191, 0.55) 240deg,
    rgba(71, 37, 134, 0.95) 300deg,
    rgba(71, 37, 134, 0.08) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  opacity: 0.55;
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.hc-cv-hub__ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 0 24px rgba(71, 37, 134, 0.12),
    0 0 32px rgba(71, 37, 134, 0.1);
}

.hc-cv-hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52%;
  height: 62%;
  border-radius: 1.15rem;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 2px solid rgba(71, 37, 134, 0.18);
  box-shadow:
    0 0 0 8px rgba(71, 37, 134, 0.05),
    0 20px 48px rgba(71, 37, 134, 0.18);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.hc-cv-hub__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}

.hc-cv-hub__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(26, 15, 46, 0.88), transparent);
  transition: opacity 0.3s ease;
}

.hc-cv-hub__orbit {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hc-cv-hub__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  margin: 0;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: rotate(calc(var(--i) * 120deg)) translateY(-172px) rotate(calc(var(--i) * -120deg)) scale(0.85);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: calc(var(--i) * 0.07s);
}

.hc-cv-hub__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5.5rem;
  padding: 0.65rem 0.7rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.16);
  box-shadow: 0 12px 32px rgba(71, 37, 134, 0.14);
  color: var(--hc-brand);
  text-align: center;
}

.hc-cv-hub__card img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.hc-cv-hub__label {
  display: block;
  max-width: 8.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
}

/* Image hover: reveal ring + all items (no per-item hover) */
.hc-cv-hub__core:hover,
.hc-cv-hub__core:focus-visible {
  border-color: rgba(71, 37, 134, 0.45);
  box-shadow:
    0 0 0 10px rgba(71, 37, 134, 0.1),
    0 0 48px rgba(107, 74, 158, 0.35),
    0 24px 56px rgba(71, 37, 134, 0.22);
  transform: translate(-50%, -50%) scale(1.02);
  outline: none;
}

.hc-cv-hub__core:hover img,
.hc-cv-hub__core:focus-visible img {
  transform: scale(1.04);
}

.hc-cv-hub__core:hover .hc-cv-hub__hint,
.hc-cv-hub__core:focus-visible .hc-cv-hub__hint {
  opacity: 0;
}

.hc-cv-hub__core:hover ~ .hc-cv-hub__ring,
.hc-cv-hub__core:focus-visible ~ .hc-cv-hub__ring {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(71, 37, 134, 0.35));
  transform: scale(1.02);
}

.hc-cv-hub__core:hover ~ .hc-cv-hub__orbit .hc-cv-hub__item,
.hc-cv-hub__core:focus-visible ~ .hc-cv-hub__orbit .hc-cv-hub__item {
  opacity: 1;
  visibility: visible;
  transform: rotate(calc(var(--i) * 120deg)) translateY(-172px) rotate(calc(var(--i) * -120deg)) scale(1);
}

@media (max-width: 480px) {
  .hc-cv-hub__item {
    transform: rotate(calc(var(--i) * 120deg)) translateY(-128px) rotate(calc(var(--i) * -120deg)) scale(0.85);
  }

  .hc-cv-hub__core:hover ~ .hc-cv-hub__orbit .hc-cv-hub__item,
  .hc-cv-hub__core:focus-visible ~ .hc-cv-hub__orbit .hc-cv-hub__item {
    transform: rotate(calc(var(--i) * 120deg)) translateY(-128px) rotate(calc(var(--i) * -120deg)) scale(1);
  }

  .hc-cv-hub__card {
    min-width: 4.75rem;
    padding: 0.5rem;
  }

  .hc-cv-hub__label {
    font-size: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-cv-hub__ring,
  .hc-cv-hub__core,
  .hc-cv-hub__core img,
  .hc-cv-hub__item {
    transition: none;
  }

  .hc-cv-hub__item {
    opacity: 1;
    visibility: visible;
    transform: rotate(calc(var(--i) * 120deg)) translateY(-172px) rotate(calc(var(--i) * -120deg));
  }

  .hc-cv-hub__hint {
    display: none;
  }
}

/* Payroll hub — payroll.jpg center, diamond frame, hover image reveals items */
.hc-payroll-hub {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: visible;
}

.hc-scene--payroll .hc-scene-inner,
.hc-scene--payroll .hc-service-visual {
  overflow: visible;
}

.hc-payroll-hub__diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 3;
  pointer-events: none;
  border-radius: 1.35rem;
  border: 2px solid rgba(71, 37, 134, 0.45);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(159, 138, 191, 0.3),
    0 0 40px rgba(71, 37, 134, 0.16);
  opacity: 0.75;
  transition: opacity 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.hc-payroll-hub__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 36%;
  height: 42%;
  border-radius: 1.1rem;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 2px solid rgba(71, 37, 134, 0.18);
  box-shadow:
    0 0 0 8px rgba(71, 37, 134, 0.05),
    0 20px 48px rgba(71, 37, 134, 0.18);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.hc-payroll-hub__core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.hc-payroll-hub__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(26, 15, 46, 0.88), transparent);
  transition: opacity 0.3s ease;
}

.hc-payroll-hub__orbit {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* Items sit on the four diamond tips (top / right / bottom / left) */
.hc-payroll-hub__item {
  position: absolute;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.88);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.hc-payroll-hub__item--top {
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.88);
  transition-delay: 0s;
}

.hc-payroll-hub__item--right {
  top: 50%;
  right: 0;
  transform: translateY(-50%) scale(0.88);
  transition-delay: 0.06s;
}

.hc-payroll-hub__item--bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.88);
  transition-delay: 0.12s;
}

.hc-payroll-hub__item--left {
  top: 50%;
  left: 0;
  transform: translateY(-50%) scale(0.88);
  transition-delay: 0.18s;
}

.hc-payroll-hub__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 5.25rem;
  padding: 0.65rem 0.7rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.16);
  box-shadow: 0 12px 32px rgba(71, 37, 134, 0.14);
  color: var(--hc-brand);
  text-align: center;
}

.hc-payroll-hub__card img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

.hc-payroll-hub__label {
  display: block;
  max-width: 8.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.25;
}

.hc-payroll-hub__core:hover,
.hc-payroll-hub__core:focus-visible {
  border-color: rgba(71, 37, 134, 0.45);
  box-shadow:
    0 0 0 10px rgba(71, 37, 134, 0.1),
    0 0 48px rgba(107, 74, 158, 0.35),
    0 24px 56px rgba(71, 37, 134, 0.22);
  transform: translate(-50%, -50%) scale(1.02);
  outline: none;
}

.hc-payroll-hub__core:hover img,
.hc-payroll-hub__core:focus-visible img {
  transform: scale(1.04);
}

.hc-payroll-hub__core:hover .hc-payroll-hub__hint,
.hc-payroll-hub__core:focus-visible .hc-payroll-hub__hint {
  opacity: 0;
}

.hc-payroll-hub__core:hover ~ .hc-payroll-hub__diamond,
.hc-payroll-hub__core:focus-visible ~ .hc-payroll-hub__diamond {
  opacity: 1;
  border-color: rgba(71, 37, 134, 0.65);
  box-shadow:
    0 0 0 2px rgba(159, 138, 191, 0.35),
    0 0 52px rgba(107, 74, 158, 0.28),
    inset 0 0 32px rgba(71, 37, 134, 0.12);
  transform: translate(-50%, -50%) rotate(45deg) scale(1.03);
}

.hc-payroll-hub__core:hover ~ .hc-payroll-hub__orbit .hc-payroll-hub__item,
.hc-payroll-hub__core:focus-visible ~ .hc-payroll-hub__orbit .hc-payroll-hub__item {
  opacity: 1;
  visibility: visible;
}

.hc-payroll-hub__core:hover ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--top,
.hc-payroll-hub__core:focus-visible ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--top {
  transform: translateX(-50%) scale(1);
}

.hc-payroll-hub__core:hover ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--right,
.hc-payroll-hub__core:focus-visible ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--right {
  transform: translateY(-50%) scale(1);
}

.hc-payroll-hub__core:hover ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--bottom,
.hc-payroll-hub__core:focus-visible ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--bottom {
  transform: translateX(-50%) scale(1);
}

.hc-payroll-hub__core:hover ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--left,
.hc-payroll-hub__core:focus-visible ~ .hc-payroll-hub__orbit .hc-payroll-hub__item--left {
  transform: translateY(-50%) scale(1);
}

@media (max-width: 480px) {
  .hc-payroll-hub__core {
    width: 42%;
    height: 48%;
  }

  .hc-payroll-hub__item--top {
    top: 2%;
  }

  .hc-payroll-hub__item--bottom {
    bottom: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-bg-bubble {
    animation: none;
    opacity: 0.2;
  }

  .hc-payroll-hub__diamond,
  .hc-payroll-hub__core,
  .hc-payroll-hub__core img,
  .hc-payroll-hub__item {
    transition: none;
  }

  .hc-payroll-hub__item {
    opacity: 1;
    visibility: visible;
  }

  .hc-payroll-hub__item--top {
    transform: translateX(-50%);
  }

  .hc-payroll-hub__item--right,
  .hc-payroll-hub__item--left {
    transform: translateY(-50%);
  }

  .hc-payroll-hub__item--bottom {
    transform: translateX(-50%);
  }

  .hc-payroll-hub__hint {
    display: none;
  }
}

/* Service scenes */
.hc-service-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hc-service-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.hc-service-visual {
  position: relative;
  min-height: 280px;
}

.hc-glass-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(71, 37, 134, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(71, 37, 134, 0.1);
}

.hc-card-text {
  font-size: 0.9rem;
  color: var(--hc-text-muted);
  line-height: 1.6;
}

.hc-mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hc-mini-metrics div {
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: var(--hc-surface-elevated);
  text-align: center;
}

.hc-mini-metrics strong {
  display: block;
  font-size: 1.25rem;
  color: var(--hc-brand);
}

.hc-mini-metrics span {
  font-size: 0.7rem;
  color: var(--hc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hc-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hc-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--hc-text-muted);
}

.hc-feature i {
  color: var(--hc-contrast-soft);
  margin-top: 0.2rem;
}

.hc-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.875rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease;
}

.hc-btn--primary {
  background: linear-gradient(135deg, var(--hc-brand) 0%, var(--hc-brand-light) 100%);
  color: #fff;
  box-shadow: 0 12px 32px var(--hc-brand-glow);
}

.hc-btn--accent {
  background: linear-gradient(135deg, var(--hc-brand-deep), var(--hc-brand));
  color: var(--hc-contrast);
  border: 1px solid rgba(196, 181, 253, 0.35);
}

.hc-btn--ghost {
  border: 1px solid rgba(71, 37, 134, 0.25);
  color: var(--hc-brand);
  background: #fff;
}

.hc-btn:hover {
  transform: translateY(-2px);
}

/* Scene accents — brand family */
.hc-scene--recruit .hc-eyebrow::before,
.hc-scene--cv .hc-eyebrow::before,
.hc-scene--payroll .hc-eyebrow::before,
.hc-scene--outro .hc-eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--hc-brand-light));
}

/* Below-stage content */
.hc-below {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--hc-surface) 0%, var(--hc-surface-elevated) 28%, #f8fafc 45%);
}

.hc-section--brand {
  background: var(--hc-surface-elevated);
  color: var(--hc-text);
  border-top: 1px solid rgba(71, 37, 134, 0.12);
}

.hc-section--brand .hc-section-head p {
  color: var(--hc-text-muted);
}

.hc-audience-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hc-audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hc-audience-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.12);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.hc-audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 24px 48px var(--hc-brand-glow);
}

.hc-audience-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--hc-brand), var(--hc-brand-light));
  color: #fff;
}

.hc-audience-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.hc-audience-card p {
  color: var(--hc-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.hc-audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hc-audience-tags span {
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  background: rgba(71, 37, 134, 0.08);
  color: var(--hc-brand);
}

.hc-service-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 56rem;
  margin: 2.5rem auto 0;
}

.hc-service-chip {
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(71, 37, 134, 0.12);
  color: var(--hc-brand);
}

.hc-testimonials {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .hc-testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.hc-testimonial {
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e9d5ff;
  box-shadow: 0 8px 32px rgba(71, 37, 134, 0.08);
}

.hc-testimonial-quote {
  font-style: italic;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.hc-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hc-testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--hc-brand), var(--hc-brand-light));
}

.hc-testimonial-author strong {
  display: block;
  color: #0f172a;
}

.hc-testimonial-author span {
  font-size: 0.85rem;
  color: #64748b;
}

/* AI CV Concierge — replaces intrusive slide banner */
.hc-cv-concierge {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  z-index: 9998;
  width: min(340px, calc(100vw - 2rem));
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
  pointer-events: none;
}

.hc-cv-concierge.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.hc-cv-concierge-inner {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 0%, #faf5ff 100%);
  border: 1px solid rgba(71, 37, 134, 0.2);
  box-shadow: 0 20px 50px rgba(71, 37, 134, 0.25);
}

.hc-cv-concierge-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.hc-cv-concierge-head h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--hc-brand);
  line-height: 1.3;
}

.hc-cv-concierge-close {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(71, 37, 134, 0.1);
  color: var(--hc-brand);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.hc-cv-concierge p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.hc-cv-concierge-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--hc-brand), var(--hc-brand-light));
}

.hc-cv-concierge-mini {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  z-index: 9997;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--hc-brand), var(--hc-brand-light));
  box-shadow: 0 8px 28px var(--hc-brand-glow);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hc-cv-concierge-mini.is-visible {
  display: flex;
}

@media (min-width: 768px) {
  .hc-cv-concierge {
    right: 1.5rem;
  }
  .hc-cv-concierge-mini {
    right: 1.5rem;
  }
}

.hc-section {
  padding: 5rem 1.5rem;
}

@media (min-width: 1024px) {
  .hc-section {
    padding: 6rem 3rem;
  }
}

.hc-section--light {
  background: #f8fafc;
  color: #0f172a;
}

.hc-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.hc-section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.hc-section-head p {
  color: #64748b;
  line-height: 1.7;
}

.hc-more-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hc-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hc-more-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hc-more-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hc-more-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.hc-more-card i {
  font-size: 1.5rem;
  color: var(--hc-brand);
  margin-bottom: 0.75rem;
}

.hc-more-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hc-more-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

.hc-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.hc-trust-item {
  text-align: center;
}

.hc-trust-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--hc-brand);
}

.hc-trust-item span {
  font-size: 0.85rem;
  color: #64748b;
}

.hc-cta-band {
  text-align: center;
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--hc-brand-deep) 0%, var(--hc-brand) 50%, var(--hc-brand-light) 100%);
  color: #fff;
}

.hc-cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.hc-cta-band p {
  max-width: 32rem;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hc-scroll-hint span {
    animation: none;
  }

  .hc-depth-layer {
    transform: none !important;
  }

  .hc-service-desk__ring,
  .hc-service-desk__card,
  .hc-service-desk__glow {
    animation: none;
  }
}

.hc-reduced .hc-stage-wrap {
  height: auto;
}

.hc-reduced .hc-stage {
  height: auto;
  min-height: 100vh;
}

.hc-reduced .hc-scene {
  position: relative;
  opacity: 1;
  visibility: visible;
  min-height: 100vh;
  pointer-events: auto;
}
