/* Workar Empire Hero — compact, standalone and conditionally loaded. */
.workar-hero-signature {
  --workar-hero-bg: #111315;
  --workar-hero-accent: #d5c8b0;
  --workar-hero-teal: #00d7c8;
  --workar-hero-text: #f2f0ea;
  --workar-hero-muted: #c8c5be;
  --workar-hero-logo-scale: 1;
  --workar-hero-depth: 14px;
  --workar-hero-story: 220vh;
  --workar-hero-mobile-story: 160vh;
  --workar-hero-particles: 190;
  --workar-hero-sticky-offset: 0px;
  position: relative;
  z-index: auto;
  width: min(calc(100vw - 36px), 1600px);
  max-width: 1600px;
  margin: clamp(10px, 1.2vw, 16px) auto;
  box-sizing: border-box;
  isolation: isolate;
  color: var(--workar-hero-text);
  background: transparent;
  font-family: var(--workar-typography-font-family, "IRANSansX", "IRANSans", Tahoma, sans-serif);
}
.workar-hero-signature,
.workar-hero-signature * { box-sizing: border-box; }

.workar-empire__journey { position: relative; width: 100%; }
.workar-empire__journey.is-enhanced { height: var(--workar-hero-story); }
.workar-empire__pin {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 560px;
  overflow: clip;
  border: 1px solid rgba(213,200,176,.30);
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 25% 52%, color-mix(in srgb, var(--workar-hero-teal) 7%, transparent), transparent 34%),
    radial-gradient(ellipse at 60% 78%, color-mix(in srgb, var(--workar-hero-accent) 8%, transparent), transparent 42%),
    var(--workar-hero-bg);
  box-shadow: 0 15px 38px rgba(0,0,0,.20);
}
.workar-empire__journey.is-enhanced .workar-empire__pin {
  position: sticky;
  top: var(--workar-hero-sticky-offset);
  height: clamp(520px, 72svh, 590px);
  min-height: 520px;
  max-height: 590px;
}

.workar-empire__ambient {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .62;
  background:
    radial-gradient(ellipse at 48% 54%, rgba(0,215,200,.055), transparent 34%),
    radial-gradient(ellipse at 72% 76%, rgba(213,200,176,.075), transparent 40%),
    radial-gradient(ellipse at 52% 100%, rgba(255,255,255,.035), transparent 46%),
    linear-gradient(112deg, transparent 0 42%, rgba(255,255,255,.018) 50%, transparent 58%);
  mask-image: linear-gradient(110deg, transparent, #000 28%, #000 78%, transparent);
}
.workar-empire__ambient::before,
.workar-empire__ambient::after {
  content: "";
  position: absolute;
  inset: -18% -12%;
  pointer-events: none;
}
.workar-empire__ambient::before {
  opacity: .32;
  background:
    linear-gradient(112deg, transparent 34%, rgba(0,215,200,.085) 46%, rgba(255,255,255,.025) 49%, transparent 57%),
    linear-gradient(72deg, transparent 61%, rgba(213,200,176,.08) 67%, transparent 73%);
  filter: blur(22px);
  transform: translate3d(var(--workar-parallax-ambient-x, 0px), var(--workar-parallax-ambient-y, 0px), 0);
  animation: workar-ambient-breathe 17s ease-in-out infinite alternate;
}
.workar-empire__ambient::after {
  inset: 0;
  opacity: .72;
  background: radial-gradient(ellipse at 50% 47%, transparent 35%, rgba(0,0,0,.22) 100%);
}
@keyframes workar-ambient-breathe {
  0% { opacity: .22; }
  100% { opacity: .39; }
}

.workar-empire__inner {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0,.94fr) minmax(360px,1.06fr);
  grid-template-areas: "visual content";
  align-items: center;
  gap: clamp(18px,3.2vw,48px);
  width: 100%;
  max-width: 1440px;
  min-height: 0;
  margin-inline: auto;
  padding: 10px clamp(28px,4.2vw,64px) 4px;
  direction: ltr;
}
.workar-empire__visual {
  --workar-parallax-x: 0px;
  --workar-parallax-y: 0px;
  grid-area: visual;
  position: relative;
  justify-self: center;
  width: min(100%,390px);
  aspect-ratio: 459 / 452;
  isolation: isolate;
  transform: scale(calc(var(--workar-hero-logo-scale) * .78));
  transform-origin: center;
  transition: filter .6s ease;
}
.workar-empire__halo {
  position: absolute;
  top: 91%;
  left: 50%;
  border: 1px solid color-mix(in srgb, var(--workar-hero-accent) 25%, transparent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%) rotateX(68deg);
}
.workar-empire__halo--outer {
  top: 91.5%;
  width: 65%;
  height: 5.5%;
  border: 0;
  opacity: .78;
  background: radial-gradient(ellipse at center, rgba(213,200,176,.17) 0%, rgba(0,215,200,.075) 34%, rgba(213,200,176,.025) 57%, transparent 74%);
  filter: blur(5px);
  box-shadow: 0 0 26px rgba(213,200,176,.07);
}
.workar-empire__floor {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 2%;
  height: 13%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(213,200,176,.16), rgba(0,215,200,.045) 36%, transparent 72%);
  filter: blur(17px);
  pointer-events: none;
}
.workar-empire__mark-wrap {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 11%;
  width: 78%;
  aspect-ratio: 459 / 452;
  transform: translate3d(var(--workar-parallax-x,0px), calc(-50% + var(--workar-parallax-y,0px)), 0);
  transform-style: preserve-3d;
  perspective: 1250px;
}
.workar-empire__mark,
.workar-empire__depth img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
.workar-empire__depth {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0,var(--workar-hero-depth),-8px) scale(.992);
  filter: saturate(.74) brightness(.52) drop-shadow(0 1px 0 rgba(0,215,200,.16)) drop-shadow(0 5px 7px rgba(0,0,0,.34));
  mix-blend-mode: multiply;
  will-change: transform, opacity;
}
.workar-empire__mark {
  z-index: 2;
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transform-origin: 50% 72%;
  backface-visibility: hidden;
  filter: contrast(1.045) saturate(1.06) brightness(1.015) drop-shadow(0 1px 0 rgba(236,255,251,.16)) drop-shadow(0 5px 10px rgba(0,0,0,.23));
  will-change: clip-path, filter, opacity;
  transition: none;
}
.workar-empire__surface-fill,
.workar-empire__surface-glint,
.workar-empire__glass-core,
.workar-empire__edge-light,
.workar-empire__final-lock {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  pointer-events: none;
  -webkit-mask: url("../../images/workar-logo-original.png") center / 100% 100% no-repeat;
  mask: url("../../images/workar-logo-original.png") center / 100% 100% no-repeat;
}
.workar-empire__glass-core {
  opacity: 0;
  background:
    linear-gradient(116deg, rgba(5,25,30,.46) 0%, rgba(12,47,52,.30) 17%, rgba(0,215,200,.19) 31%, rgba(12,29,34,.48) 48%, rgba(236,218,184,.20) 69%, rgba(10,25,29,.38) 86%, rgba(235,250,245,.25) 100%),
    linear-gradient(180deg, rgba(232,255,250,.24), rgba(8,24,29,.42) 48%, rgba(225,239,230,.18));
  mix-blend-mode: normal;
  filter: saturate(.72);
  transition: none;
  will-change: opacity;
}
.workar-empire__surface-fill {
  z-index: 5;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  background: linear-gradient(112deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.035) 14%, transparent 28%, rgba(226,255,250,.17) 47%, rgba(255,255,255,.31) 51%, rgba(255,255,255,.035) 57%, transparent 70%, rgba(0,215,200,.12) 82%, rgba(244,214,165,.13) 96%);
  mix-blend-mode: screen;
  transition: none;
  will-change: opacity;
}
.workar-empire__surface-glint {
  z-index: 7;
  opacity: 0;
  background: linear-gradient(108deg, transparent 37%, rgba(255,255,255,.12) 44%, rgba(255,255,255,.88) 49.5%, rgba(0,215,200,.5) 52%, rgba(255,255,255,.18) 56%, transparent 64%);
  background-size: 280% 100%;
  background-position: 0% 50%;
  filter: drop-shadow(0 0 3px rgba(0,215,200,.35));
  mix-blend-mode: screen;
}
.workar-empire__edge-light {
  z-index: 6;
  opacity: 0;
  background: linear-gradient(140deg, rgba(255,255,255,.24), transparent 18%, rgba(0,215,200,.10) 36%, transparent 52%, rgba(255,230,190,.18) 78%, transparent 93%);
  filter: none;
  mix-blend-mode: screen;
  transition: none;
  will-change: opacity;
}
.workar-empire__final-lock {
  z-index: 8;
  opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.08) 42%, rgba(255,255,255,.9) 49.5%, rgba(0,215,200,.5) 52%, rgba(255,226,182,.38) 56%, transparent 69%);
  background-size: 300% 100%;
  background-position: 0% 50%;
  mix-blend-mode: screen;
}
.workar-empire__reflection {
  position: absolute;
  z-index: 1;
  top: 89.2%;
  left: 11%;
  width: 78%;
  aspect-ratio: 459 / 452;
  opacity: 0;
  pointer-events: none;
  transform: scaleY(-1);
  transform-origin: top center;
  filter: blur(1.35px) saturate(.74) brightness(.72);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.10) 34%, rgba(0,0,0,.26) 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.10) 34%, rgba(0,0,0,.26) 100%);
  transition: opacity .55s ease, filter .55s ease;
}
.workar-empire__reflection img { display: block; width: 100%; height: 100%; object-fit: contain; }
.workar-empire__contours {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 11%;
  width: 78%;
  aspect-ratio: 459 / 452;
  overflow: visible;
  pointer-events: none;
  transform: translate3d(var(--workar-parallax-contour-x,0px),calc(-50% + var(--workar-parallax-contour-y,0px)),0);
}
.workar-empire__trace,
.workar-empire__trace-light,
.workar-empire__trace-ghost {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.workar-empire__trace {
  stroke: url(#workarTraceGradient);
  stroke-width: 2.75;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: url(#workarTraceGlow);
  opacity: 1;
}
.workar-empire__trace-light {
  stroke: url(#workarTraceLightGradient);
  stroke-width: 4.2;
  stroke-dasharray: .035 .965;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: url(#workarTraceGlow);
  pointer-events: none;
}
.workar-empire__trace-ghost {
  stroke: rgba(213,200,176,.24);
  stroke-width: 1.15;
  opacity: .58;
  filter: drop-shadow(0 0 5px rgba(0,215,200,.16));
}
.workar-empire__particles {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.workar-empire__content {
  grid-area: content;
  position: relative;
  z-index: 7;
  justify-self: stretch;
  align-self: center;
  width: 100%;
  max-width: 620px;
  min-width: 0;
  direction: rtl;
  text-align: right;
  transform: translateY(0);
}
.workar-empire__eyebrow { margin: 0 0 20px; align-self: flex-start; }
.workar-empire__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--workar-hero-text);
  font-size: clamp(36px,3.45vw,58px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.045em;
  text-align: right;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.workar-empire__title-line { display: block; width: 100%; color: var(--workar-hero-text); white-space: normal; overflow-wrap: normal; word-break: normal; }
.workar-empire__title-line--accent { color: var(--workar-hero-accent); }
.workar-empire__description {
  max-width: 500px;
  margin: 20px 0 0;
  color: var(--workar-hero-muted);
  font-size: clamp(13px,.98vw,15px);
  line-height: 1.85;
}
.workar-empire__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 12px 16px; margin-top: 28px; }
.workar-empire__button {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: var(--workar-buttons-gap, 8px);
  max-width: 100%;
  text-decoration: none;
}
.workar-empire__button-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  color: var(--workar-hero-teal);
  opacity: .94;
  line-height: 1;
}
.workar-empire__button-arrow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.workar-empire__stage-copy { display: none; }
.workar-empire__tagline {
  margin: 12px 0 0;
  color: var(--workar-hero-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  opacity: .6;
}

.workar-empire__progress {
  position: absolute;
  z-index: 15;
  right: clamp(24px,4vw,60px);
  bottom: 8px;
  left: clamp(24px,4vw,60px);
  display: flex;
  align-items: center;
  direction: ltr;
}
.workar-empire__progress-track {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(213,200,176,.17);
}
.workar-empire__progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,var(--workar-hero-teal),#91c6a5,var(--workar-hero-accent));
  box-shadow: 0 0 9px rgba(0,215,200,.24);
  transform-origin: left center;
}
.workar-empire__pillars {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3,minmax(0,1fr));
  width: calc(100% - clamp(40px,6vw,88px));
  max-width: none;
  margin: -18px auto 12px;
  padding: 12px 8px 10px;
  border-top: 1px solid rgba(213,200,176,.20);
  background: transparent;
}
.workar-empire__pillar { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 5px clamp(10px,1.5vw,22px); }
.workar-empire__pillar + .workar-empire__pillar { border-inline-start: 1px solid rgba(213,200,176,.15); }
.workar-empire__pillar-icon { display: inline-flex; flex: 0 0 auto; color: var(--workar-hero-teal); }
.workar-empire__pillar-icon svg { display: block; width: 19px; height: 19px; }
.workar-empire__pillar-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.workar-empire__pillar-copy strong { color: var(--workar-hero-text); font-size: 12px; line-height: 1.45; }
.workar-empire__pillar-copy small { color: var(--workar-hero-muted); font: 8px/1.4 Arial,sans-serif; letter-spacing: .07em; }

/* Static/editor fallback keeps the canonical mark visible without running the story engine. */
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__mark,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__mark { clip-path: none; }
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__depth,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__depth { opacity: .8; filter: none; mix-blend-mode: normal; }
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__contours,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__contours,
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__particles,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__particles,
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__reflection,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__reflection,
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__surface-glint,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__surface-glint { display: none; }
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__surface-fill,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__surface-fill { opacity: .24; clip-path: inset(0); }
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__glass-core,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__glass-core { opacity: .22; }
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__edge-light,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__edge-light { opacity: .16; }
.workar-hero-signature[data-workar-editor-preview="yes"] .workar-empire__stage-copy,
.workar-hero-signature:not(.workar-empire-ready) .workar-empire__stage-copy,
.workar-hero-signature[data-workar-show-visual="no"] .workar-empire__stage-copy,
.workar-hero-signature[data-workar-scroll-story="no"] .workar-empire__stage-copy,
.workar-hero-signature[data-workar-show-visual="no"] .workar-empire__progress,
.workar-hero-signature[data-workar-scroll-story="no"] .workar-empire__progress { display: none; }

@keyframes workar-final-glass-lock {
  0% { opacity: 0; background-position: 0% 50%; filter: blur(4px); }
  22% { opacity: .74; }
  66% { opacity: .24; background-position: 74% 50%; filter: blur(.4px); }
  100% { opacity: 0; background-position: 100% 50%; filter: blur(0); }
}
@keyframes workar-final-settle {
  0% { transform: translateZ(0) scale(1.018); }
  48% { transform: translateZ(0) scale(1.006); }
  100% { transform: translateZ(0) scale(1); }
}
@keyframes workar-final-atmosphere {
  0% { filter: brightness(1.02); }
  32% { filter: brightness(1.11); }
  100% { filter: brightness(1); }
}
.workar-hero-signature.is-final-locked .workar-empire__final-lock { animation: workar-final-glass-lock var(--workar-hero-lock-duration,1.15s) cubic-bezier(.2,.72,.24,1) both; }
.workar-hero-signature.is-final-locked .workar-empire__mark { animation: workar-final-settle var(--workar-hero-lock-duration,1.15s) cubic-bezier(.2,.72,.24,1) both; }
.workar-hero-signature.is-final-locked .workar-empire__visual { animation: workar-final-atmosphere var(--workar-hero-lock-duration,1.15s) ease-out both; }

@media (max-width: 1024px) and (min-width: 768px) {
  .workar-empire__inner { gap: 18px; padding-inline: 28px; }
  .workar-empire__visual { width: min(100%,330px); transform: scale(calc(var(--workar-hero-logo-scale) * .84)); }
  .workar-empire__content { transform: translateY(0); }
  .workar-empire__title { font-size: clamp(32px,4.2vw,44px); }
  .workar-empire__pillars { width: calc(100% - 40px); }
}

@media (max-width: 767px) {
  .workar-hero-signature {
    width: calc(100vw - 24px);
    margin: 12px auto 18px;
  }
  .workar-empire__journey.is-enhanced { height: var(--workar-hero-mobile-story, 160svh); }
  .workar-empire__pin {
    height: min(calc(100svh - var(--workar-hero-sticky-offset, 0px) - 14px), 840px);
    min-height: 560px;
    max-height: 840px;
    border-radius: 20px;
  }
  .workar-empire__journey.is-enhanced .workar-empire__pin {
    position: sticky;
    top: var(--workar-hero-sticky-offset, 0px);
    height: min(calc(100svh - var(--workar-hero-sticky-offset, 0px) - 14px), 840px);
    min-height: 560px;
    max-height: 840px;
  }
  .workar-empire__inner {
    order: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 1.5svh, 14px);
    width: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: 15px 18px 4px;
    direction: rtl;
  }
  .workar-empire__content { display: contents; }
  .workar-empire__content { transform: none; }
  .workar-empire__eyebrow {
    order: 1;
    align-self: stretch;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
    text-align: right;
    position: relative;
    z-index: 7;
  }
  .workar-empire__visual {
    order: 2;
    display: block;
    flex: 0 0 auto;
    width: min(48vw,180px);
    max-width: 180px;
    margin: 0 auto 7px;
    transform: scale(calc(var(--workar-hero-logo-scale) * .98));
  }
  .workar-empire__title {
    order: 3;
    position: relative;
    z-index: 7;
    width: 100%;
    font-size: clamp(26px,7.2vw,31px);
    line-height: 1.3;
    align-self: stretch;
    direction: rtl;
    text-align: right;
  }
  .workar-empire__description {
    order: 4;
    position: relative;
    z-index: 7;
    max-width: 500px;
    margin: 9px auto 0;
    font-size: 12px;
    line-height: 1.72;
    text-align: right;
  }
  .workar-empire__actions {
    order: 5;
    position: relative;
    z-index: 7;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 13px;
  }
  .workar-empire__button { white-space: nowrap; }
  .workar-empire__button-arrow { width: 1.1em; height: 1.1em; opacity: 1; }
  .workar-empire__tagline {
    order: 7;
    position: relative;
    z-index: 7;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
  }
  .workar-empire__stage-copy { order: 6; display: none; }
  .workar-empire__reflection { display: none; }
  .workar-empire__halo--outer { width: 60%; opacity: .5; }
  .workar-empire__ambient::before { opacity: .18; filter: blur(16px); }
  .workar-empire__pillars {
    order: 2;
    width: calc(100% - 32px);
    grid-template-columns: minmax(0,1fr);
    margin: 0 auto 9px;
    padding: 8px 0 5px;
    border-top-color: rgba(213,200,176,.24);
  }
  .workar-empire__pillar {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    min-height: 39px;
    gap: 10px;
    padding: 6px 8px;
    text-align: right;
  }
  .workar-empire__pillar + .workar-empire__pillar { border-inline-start: 0; border-top: 1px solid rgba(213,200,176,.10); }
  .workar-empire__pillar-icon svg { width: 16px; height: 16px; }
  .workar-empire__pillar-copy { flex-flow: row wrap; align-items: baseline; gap: 3px 7px; }
  .workar-empire__pillar-copy strong { font-size: 11px; line-height: 1.45; }
  .workar-empire__pillar-copy small { display: inline; font-size: 9px; line-height: 1.4; opacity: .7; }
  .workar-empire__progress {
    order: 3;
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 26px);
    height: 4px;
    margin: 0 auto 10px;
  }
  .workar-empire__progress-track { height: 2px; background: rgba(213,200,176,.34); box-shadow: 0 0 7px rgba(213,200,176,.10); }
  .workar-empire__progress-track i { box-shadow: 0 0 9px rgba(0,215,200,.48), 0 0 14px rgba(213,200,176,.20); }
}

@media (max-width: 390px) {
  .workar-empire__inner { padding-inline: 11px; }
  .workar-empire__visual { width: min(48vw,174px); max-width: 174px; }
  .workar-empire__title { font-size: 25px; }
  .workar-empire__description { font-size: 11px; }
}

@media (max-width: 767px) and (max-height: 600px) {
  .workar-hero-signature { margin-block: 6px; }
  .workar-empire__pin,
  .workar-empire__journey.is-enhanced .workar-empire__pin {
    height: calc(100svh - var(--workar-hero-sticky-offset, 0px) - 8px);
    min-height: 0;
    max-height: none;
  }
  .workar-empire__inner { padding: 8px 12px 0; gap: 4px; }
  .workar-empire__eyebrow { margin-bottom: 0; font-size: 9px; }
  .workar-empire__visual { width: min(34vw,126px); max-width: 126px; margin-bottom: 0; transform: scale(calc(var(--workar-hero-logo-scale) * .96)); }
  .workar-empire__title { font-size: clamp(20px,5.8vw,24px); line-height: 1.24; }
  .workar-empire__description { margin-top: 4px; font-size: 10px; line-height: 1.5; }
  .workar-empire__actions { margin-top: 5px; gap: 6px; }
  .workar-empire__tagline { display: none; }
  .workar-empire__pillars { margin: 0 auto 5px; padding-block: 4px; }
  .workar-empire__pillar { min-height: 29px; padding-block: 3px; }
  .workar-empire__pillar-icon svg { width: 14px; height: 14px; }
  .workar-empire__pillar-copy strong { font-size: 10px; }
  .workar-empire__pillar-copy small { font-size: 8px; }
  .workar-empire__progress { margin-bottom: 5px; }
}

@media (max-height: 650px) and (min-width: 768px) {
  .workar-hero-signature { margin-block: 8px; }
  .workar-empire__journey.is-enhanced .workar-empire__pin { height: clamp(520px, 72svh, 590px); min-height: 520px; max-height: 590px; }
  .workar-empire__inner { padding-top: 8px; padding-bottom: 0; }
  .workar-empire__content { transform: translateY(0); }
  .workar-empire__visual { width: min(100%,330px); }
  .workar-empire__pillars { margin-bottom: 14px; padding-block: 9px; }
}

/* Page canvas and sticky safety: only the page containing this Hero is affected. */
html:has(body.home .workar-hero-signature),
html:has(body.front-page .workar-hero-signature),
body.home:has(.workar-hero-signature),
body.front-page:has(.workar-hero-signature),
body.home:has(.workar-hero-signature) #page,
body.front-page:has(.workar-hero-signature) #page,
body.home:has(.workar-hero-signature) .site,
body.front-page:has(.workar-hero-signature) .site,
body.home:has(.workar-hero-signature) #content,
body.front-page:has(.workar-hero-signature) #content,
body.home:has(.workar-hero-signature) .site-content,
body.front-page:has(.workar-hero-signature) .site-content,
body.home:has(.workar-hero-signature) main#main,
body.front-page:has(.workar-hero-signature) main#main { background-color: #111315; }
body.home:has(.workar-hero-signature) .site-content,
body.front-page:has(.workar-hero-signature) .site-content,
body.home:has(.workar-hero-signature) .ast-container,
body.front-page:has(.workar-hero-signature) .ast-container { background: transparent; }
body:has(.workar-hero-signature) :is(.elementor-widget-container,.elementor-widget,.elementor-element,.e-con-inner,.e-con,.elementor,.ast-container,.site-content,#content,main):has(.workar-hero-signature) {
  overflow: visible;
  contain: none;
}

body.admin-bar .workar-hero-signature { --workar-hero-sticky-offset: 32px; }
@media (max-width: 782px) {
  body.admin-bar .workar-hero-signature { --workar-hero-sticky-offset: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .workar-empire__journey.is-enhanced { height: var(--workar-hero-mobile-story, 160svh); }
  .workar-empire__journey.is-enhanced .workar-empire__pin { position: relative; top: auto; height: auto; min-height: 0; max-height: none; }
  .workar-empire__button,
  .workar-empire__reflection { transition: none; }
  .workar-empire__ambient::before,
  .workar-hero-signature.is-final-locked .workar-empire__final-lock,
  .workar-hero-signature.is-final-locked .workar-empire__mark,
  .workar-hero-signature.is-final-locked .workar-empire__visual { animation: none; }
}
